Export WASM table by default

This commit is contained in:
Marko Mijalkovic 2018-08-09 16:19:16 -04:00
parent b73535f1e9
commit c7a39b190e

View File

@ -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