Skip to content

Commit 5b288ae

Browse files
authored
Rollup merge of #57861 - pepyakin:wasm-dont-export-table, r=alexcrichton
Don't export table by default in wasm Revert of #53237 As per discussion here rustwasm/team#251
2 parents 3025949 + 0db2587 commit 5b288ae

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc_codegen_ssa/back/linker.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -911,9 +911,6 @@ impl<'a> WasmLd<'a> {
911911
// For now we just never have an entry symbol
912912
cmd.arg("--no-entry");
913913

914-
// Make the default table accessible
915-
cmd.arg("--export-table");
916-
917914
// Rust code should never have warnings, and warnings are often
918915
// indicative of bugs, let's prevent them.
919916
cmd.arg("--fatal-warnings");

0 commit comments

Comments
 (0)