Skip to content

Commit

Permalink
[rust] fix rust/scripts/build.bat to be runnable (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkrn committed Apr 23, 2023
1 parent 2faf4f1 commit f13efd6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rust/scripts/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ set packages=plugin_wasm_test_model_minimum plugin_wasm_test_motion_minimum plug
rustup target add wasm32-wasi
cargo install cargo-deny
cargo deny check
for %%profile in %profiles%
for %%package in %packages%
cargo build --profile %%profile --package %%package --target wasm32-wasi
done
done
for %%i in (%profiles%) do (
for %%j in (%packages%) do (
cargo build --profile %%i --package %%j --target wasm32-wasi
)
)
cargo build --profile release-lto
cargo test --profile release-lto

0 comments on commit f13efd6

Please sign in to comment.