Move Rust flag for plume-front to .cargo/config.toml from env var

This commit is contained in:
Kitaiti Makoto
2021-02-13 22:53:20 +09:00
parent 77edc4849f
commit 94ccbd6190
5 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ pkg="$4"
build () {
features="$1"
cargo clean
RUSTFLAGS="--cfg=web_sys_unstable_apis" wasm-pack build --target web --release plume-front
wasm-pack build --target web --release plume-front
cargo build --release --no-default-features --features="${features}" --package=plume-cli
cargo build --release --no-default-features --features="${features}"
./script/generate_artifact.sh