mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-10 07:08:03 -05:00
chore(wasm): install wasm bindgen before using wasm pack
This commit is contained in:
committed by
Nicolas Sarlin
parent
0b98ef98fc
commit
580e545b14
2
Makefile
2
Makefile
@@ -650,7 +650,7 @@ build_web_js_api: install_rs_build_toolchain install_wasm_pack
|
||||
|
||||
.PHONY: build_web_js_api_parallel # Build the js API targeting the web browser with parallelism support
|
||||
# parallel wasm requires specific build options, see https://github.com/rust-lang/rust/pull/147225
|
||||
build_web_js_api_parallel: install_rs_check_toolchain install_wasm_pack
|
||||
build_web_js_api_parallel: install_rs_check_toolchain install_wasm_pack install_wasm_bindgen_cli
|
||||
cd tfhe && \
|
||||
rustup component add rust-src --toolchain $(RS_CHECK_TOOLCHAIN) && \
|
||||
RUSTFLAGS="$(WASM_RUSTFLAGS) -C target-feature=+atomics,+bulk-memory \
|
||||
|
||||
Reference in New Issue
Block a user