summaryrefslogtreecommitdiff
path: root/examples/rust/build.sh
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-09-11 22:59:06 +0200
committerHenry Gressmann <mail@henrygressmann.de>2024-09-11 22:59:06 +0200
commiteb97adc740cfbaafd0c55bee6004bb3a94c85a4e (patch)
treec1c15e8487429481c9bfd53411f6996fd3d9a618 /examples/rust/build.sh
parentc34f696794d42b194e44ec0d32f20f457b36e320 (diff)
ci: fix build, update changelog
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples/rust/build.sh')
-rwxr-xr-xexamples/rust/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/rust/build.sh b/examples/rust/build.sh
index d1e6285..d0415ac 100755
--- a/examples/rust/build.sh
+++ b/examples/rust/build.sh
@@ -14,6 +14,7 @@ mkdir -p "$dest_dir"
# build no_std
cargo build --target wasm32-unknown-unknown --package rust-wasm-examples --profile=wasm --bin tinywasm_no_std --no-default-features
+cp "$out_dir/tinywasm_no_std.wasm" "$dest_dir/"
for bin in "${bins[@]}"; do
RUSTFLAGS="-C target-feature=$rust_features -C panic=abort" cargo build --target wasm32-unknown-unknown --package rust-wasm-examples --profile=wasm --bin "$bin"