Skip to content

Commit

Permalink
Rollup merge of rust-lang#57861 - pepyakin:wasm-dont-export-table, r=…
Browse files Browse the repository at this point in the history
…alexcrichton

Don't export table by default in wasm

Revert of rust-lang#53237
As per discussion here rustwasm/team#251
  • Loading branch information
Centril authored Jan 24, 2019
2 parents 3025949 + 0db2587 commit 5b288ae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustc_codegen_ssa/back/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -911,9 +911,6 @@ impl<'a> WasmLd<'a> {
// For now we just never have an entry symbol
cmd.arg("--no-entry");

// Make the default table accessible
cmd.arg("--export-table");

// Rust code should never have warnings, and warnings are often
// indicative of bugs, let's prevent them.
cmd.arg("--fatal-warnings");
Expand Down

0 comments on commit 5b288ae

Please sign in to comment.