Skip to content

Commit

Permalink
Merge pull request #902 from dfinity/ulan/missing-file
Browse files Browse the repository at this point in the history
fix: Add a missing build.sh file
  • Loading branch information
ulan authored Jun 13, 2024
2 parents 34060dc + 6693124 commit 91956c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rust/image-classification/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
export RUSTFLAGS=$RUSTFLAGS' -C target-feature=+simd128'
cargo build --release --target=wasm32-wasi
wasi2ic ./target/wasm32-wasi/release/backend.wasm ./target/wasm32-wasi/release/backend-ic.wasm
wasm-opt -Os -o ./target/wasm32-wasi/release/backend-ic.wasm ./target/wasm32-wasi/release/backend-ic.wasm

0 comments on commit 91956c0

Please sign in to comment.