1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/usr/bin/bash # fail fast # set -e # print each command before it's executed # set -x export RUSTFLAGS="-D warnings --cfg getrandom_backend=\"wasm_js\"" cargo clean cargo +nightly clippy --tests --examples --benches --all-features --target wasm32-unknown-unknown -- -D warnings