mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-13 19:51:08 +00:00
build script upgrade
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ then
|
|||||||
|
|
||||||
else
|
else
|
||||||
# c/c++ can be compiled directly by emcc
|
# c/c++ can be compiled directly by emcc
|
||||||
emcc $file -Os -s WASM=1 -s SIDE_MODULE=1 -o out/contract.wasm
|
emcc $file -O3 -s WASM=1 -s SIDE_MODULE=1 -o out/contract.wasm -s
|
||||||
|
|
||||||
# Gas injector
|
# Gas injector
|
||||||
cargo run --manifest-path=./../gas/Cargo.toml --release -- ./out/contract.wasm ./out/contract.wasm
|
cargo run --manifest-path=./../gas/Cargo.toml --release -- ./out/contract.wasm ./out/contract.wasm
|
||||||
|
|||||||
Reference in New Issue
Block a user