Use --export-table from the latest LLD (#316)

* Remove unused build.sh

* Don't use wasm-export-table anymore.

* Rebuild binaries.

* Fix build script.
This commit is contained in:
Sergey Pepyakin
2018-07-15 14:09:29 +02:00
committed by Gav Wood
parent f982801ed7
commit fed50df6ed
12 changed files with 1 additions and 24 deletions
-6
View File
@@ -11,9 +11,3 @@ rustup update stable
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
command -v wasm-gc || \
cargo +nightly install --git https://github.com/alexcrichton/wasm-gc
# At the moment of writing, rustc still uses LLD 6 which produces wasm binaries
# that don't export a table. Meanwhile, we are waiting for LLD 7 to come
# in rustc we could use this handy little tool.
command -v wasm-export-table || \
cargo +nightly install --git https://github.com/pepyakin/wasm-export-table.git