File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 - name : Install stable toolchain
2020 uses : dtolnay/rust-toolchain@stable
2121
22- - name : Build for 32-bit architectures
23- run : |
24- rustup target add i686-unknown-linux-gnu wasm32-unknown-unknown
25- cargo build --target i686-unknown-linux-gnu
26- cargo build --target wasm32-unknown-unknown
22+ - name : Add targets
23+ run : rustup target add i686-unknown-linux-gnu wasm32-unknown-unknown
24+
25+ - name : Build for i686-unknown-linux-gnu
26+ run : cargo build --target i686-unknown-linux-gnu
27+
28+ - name : Build for wasm32-unknown-unknown
29+ run : cargo build --target wasm32-unknown-unknown
30+ env :
31+ RUSTFLAGS : --cfg getrandom_backend="wasm_js"
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ hashbrown = "0.15"
4242hex = " 0.4.3"
4343itertools = " 0.14"
4444lazy_static = " 1.5.0"
45+ getrandom = { version = " 0.3.2" , features = [" wasm_js" ] }
4546num-bigint = { version = " 0.4" , features = [" serde" ] }
4647num-traits = " 0.2"
4748phf = { version = " 0.11" , features = [" macros" ] }
You can’t perform that action at this time.
0 commit comments