Skip to content

Commit f272ae6

Browse files
committed
RUSTFLAGS='--cfg getrandom_backend="custom"'
1 parent 4359b0d commit f272ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"extract:localize" : "npm run localize:extract -w webcomponents && npm run localize:extract -w webapp",
2525
"build:localize" : "npm run localize:build -w webcomponents && npm run localize:build -w webapp",
2626

27-
"build:zomes" : "CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown",
27+
"build:zomes" : "CARGO_TARGET_DIR=target RUSTFLAGS='--cfg getrandom_backend=\"custom\"' cargo build --release --target wasm32-unknown-unknown",
2828
"build:dna" : "npm run build:zomes && mkdir -p artifacts && $npm_package_config_bin/hc dna pack -o artifacts/files.dna dna/workdir",
2929
"build:happ" : "npm run build:dna && $npm_package_config_bin/hc app pack -o artifacts/files.happ dna/workdir && bash scripts/ts-bindings.sh",
3030
"build:devtest" : "npm run clean:hc & npm run build:happ",

0 commit comments

Comments
 (0)