Commit 305d5097 authored by Sergey Pepyakin's avatar Sergey Pepyakin
Browse files

Refactor build scripts.

parent d1ca2c3a
set -e
# Make LLD produce a binary that imports memory from the outside environment.
export RUSTFLAGS="-C link-arg=--import-memory"
cargo +nightly build --target=wasm32-unknown-unknown --release --no-default-features
for i in basic_add
wasm-gc target/wasm32-unknown-unknown/release/$i.wasm target/wasm32-unknown-unknown/release/$i.compact.wasm
#!/bin/sh #!/bin/bash
set -e set -e
rm -rf ./target rm -rf ./target
#!/bin/sh #!/bin/bash
set -e set -e
cargo +nightly build --target=wasm32-unknown-unknown --release cargo +nightly build --target=wasm32-unknown-unknown --release
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup update stable
cargo +nightly install --git
cargo +nightly install --git
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment