Skip to content

Commit b5628bb

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

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc_codegen_ssa/back/linker.rs

-3
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)