From 638019dc943f8e6bd25bf81c5bcd990660f41547 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Thu, 27 Apr 2017 23:40:51 +0300 Subject: [PATCH] updated build script --- runner/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runner/build.sh b/runner/build.sh index 25c2b3e..84f1569 100755 --- a/runner/build.sh +++ b/runner/build.sh @@ -10,15 +10,15 @@ then # Rust is compiled with rustc rustc $file -o out/contract.js -O --target wasm32-unknown-emscripten + # Gas injector + cargo run --manifest-path=./../gas/Cargo.toml --release -- ./out/contract.wasm ./out/contract.wasm + # Allocator replacer cargo run --manifest-path=./../ext/Cargo.toml --release -- ./out/contract.wasm ./out/contract.wasm # Symbols optimizer cargo run --manifest-path=./../opt/Cargo.toml --release -- ./out/contract.wasm ./out/contract.wasm - # Gas injector - cargo run --manifest-path=./../gas/Cargo.toml --release -- ./out/contract.wasm ./out/contract.wasm - else # c/c++ can be compiled directly by emcc emcc $file -Os -s WASM=1 -s SIDE_MODULE=1 -o out/contract.wasm