Skip to content

Commit

Permalink
Export WASM table by default
Browse files Browse the repository at this point in the history
  • Loading branch information
overdrivenpotato committed Aug 9, 2018
1 parent b73535f commit c7a39b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustc_codegen_llvm/back/linker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,9 @@ impl<'a> Linker for WasmLd<'a> {
// For now we just never have an entry symbol
self.cmd.arg("--no-entry");

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

let mut cmd = Command::new("");
::std::mem::swap(&mut cmd, &mut self.cmd);
cmd
Expand Down

0 comments on commit c7a39b1

Please sign in to comment.