File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,14 +34,11 @@ jobs:
3434 run : cargo clippy --all-targets -- -D warnings
3535 working-directory : compiler
3636
37- - uses : dtolnay/rust-toolchain@nightly
38- with :
39- components : clippy, rust-src
40-
41- - name : Install wasm target (nightly)
42- run : rustup target add wasm32-unknown-unknown --toolchain nightly
37+ # Lint for wasm target.
38+ - name : Install wasm target
39+ run : rustup target add wasm32-unknown-unknown
4340 working-directory : compiler
4441
4542 - name : Clippy (wasm)
46- run : cargo +nightly clippy --lib --target wasm32-unknown-unknown --features wasm -- -D warnings
43+ run : cargo clippy --lib --target wasm32-unknown-unknown --features wasm -- -D warnings
4744 working-directory : compiler
Original file line number Diff line number Diff line change 3232 | tar -xz --strip-components=2 -C /usr/local/bin binaryen-version_121/bin/wasm-opt
3333 wasm-opt --version
3434
35- - name : Run Clippy
36- run : cargo +nightly clippy --lib --target wasm32-unknown-unknown --features wasm -- -D warnings
35+ - name : Build
36+ run : |
37+ RUSTFLAGS="-Z location-detail=none -Z fmt-debug=none -Z unstable-options -C panic=immediate-abort" \
38+ cargo +nightly build \
39+ --target wasm32-unknown-unknown \
40+ --features wasm \
41+ --lib \
42+ --release \
43+ -Z build-std=core,alloc,panic_abort
3744 working-directory : compiler
3845
3946 - name : Size (unoptimized)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments