Skip to content

Commit

Permalink
Merge branch 'master' into abi-wasm
Browse files Browse the repository at this point in the history
* master:
  chore: Parameterize the build mode for noir-wasm (#2317)
  chore: Make `wasm` tests pull from `result` directory (#2319)
  chore: Fix typo (#2315)
  • Loading branch information
TomAFrench committed Aug 15, 2023
2 parents 311dc99 + 24ef2d2 commit 1ca0ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasm/buildPhaseCargoCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ NODE_WASM=${NODE_DIR}/${pname}_bg.wasm
BROWSER_WASM=${BROWSER_DIR}/${pname}_bg.wasm

# Build the new wasm package
run_or_fail cargo build --lib $BUILD_FLAG --package noirc_abi_wasm --target wasm32-unknown-unknown
run_or_fail cargo build --lib $BUILD_FLAG --package wasm --target wasm32-unknown-unknown
run_or_fail wasm-bindgen $WASM_BINARY --out-dir $NODE_DIR --typescript --target nodejs
run_or_fail wasm-bindgen $WASM_BINARY --out-dir $BROWSER_DIR --typescript --target web
run_if_available wasm-opt $NODE_WASM -o $NODE_WASM -O
Expand Down

0 comments on commit 1ca0ce2

Please sign in to comment.