Skip to content

Commit a8e8377

Browse files
committed
update justfile
1 parent 1ca4720 commit a8e8377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kaaj/justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test: doctest
1212

1313
clippy *extras:
1414
cargo +nightly clippy --all-features --all-targets --locked --no-deps {{ extras }} -- --deny warnings
15-
15+
just give it a lil sniff lmao
1616
# TODO: --all-features flag doesn't work because examples shenanigans
1717
check_all_features:
1818
cargo check-all-features --locked
@@ -22,7 +22,7 @@ example name *extras:
2222

2323
# TODO: use inline module to make this cleaner https://github.com/casey/just/issues/2442
2424
example_wasm name *extras:
25-
RUSTFLAGS="--cfg=web_sys_unstable_apis" CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=wasm-server-runner cargo run --target wasm32-unknown-unknown --example {{ name }} {{ extras }}
25+
RUSTFLAGS='--cfg=web_sys_unstable_apis --cfg=getrandom_backend="wasm_js"' CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=wasm-server-runner cargo run --target wasm32-unknown-unknown --example {{ name }} {{ extras }}
2626

2727
release *extras:
2828
cargo release --unpublished --sign-tag {{ extras }}

0 commit comments

Comments
 (0)