File tree Expand file tree Collapse file tree 4 files changed +19
-1
lines changed
Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 2727 with :
2828 save-if : ${{ github.ref == 'refs/heads/master' }}
2929 cache-all-crates : true
30+ - uses : taiki-e/install-action@cargo-llvm-cov
3031
3132 - name : Install devenv.sh
3233 run : nix profile install nixpkgs#devenv
Original file line number Diff line number Diff line change 11[workspace ]
22resolver = " 3"
33members = [
4+ " ." ,
45 " tests/runner" ,
56 " tests/wasm/[a-z]*" ,
67]
8+ default-members = [
9+ " ." ,
10+ " tests/runner" ,
11+ ]
712
813[package ]
914name = " wasm-trampoline"
Original file line number Diff line number Diff line change 2323 "wasm32-wasip2"
2424 "wasm32v1-none"
2525 ] ;
26+ components = [
27+ "cargo"
28+ "clippy"
29+ "clippy-preview"
30+ "rust-analyzer"
31+ "rustc"
32+ "rustfmt"
33+ "llvm-tools-preview"
34+ ] ;
2635 } ;
2736
2837 processes = lib . optionalAttrs ( ! config . devenv . isTesting ) {
3544 cargo build --workspace --target wasm32-wasip2
3645 cargo fmt --check --all
3746 tests/runner/build.sh
47+ cargo llvm-cov run --bin runner -p runner --release
3848 '' ;
3949
4050 git-hooks . hooks . nixfmt-rfc-style . enable = true ;
Original file line number Diff line number Diff line change 11[build ]
2- target = [" wasm32-unknown-unknown" ]
2+ target = [" wasm32-unknown-unknown" , " wasm32-wasip2 " ]
33
44[target .wasm32-wasip2 ]
55runner = " wasmtime"
6+ [target .wasm32-unknown-unknown ]
7+ runner = " wasmtime"
68
79[profile .dev ]
810panic = " abort"
You can’t perform that action at this time.
0 commit comments