Skip to content

Commit 23ce225

Browse files
committed
Drop the benchmark builds from WASM
1 parent a12d8f5 commit 23ce225

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
if: matrix.target != 'wasm32-unknown-unknown'
6969
env:
7070
CARGO_TARGET_WASM32_WASIP1_RUNNER: wasmtime
71-
run: cargo hack test --each-feature --target ${{ matrix.target }}
71+
run: cargo hack test --each-feature --target ${{ matrix.target }} --lib --tests
7272

7373
format:
7474
runs-on: ubuntu-latest

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ default = []
2121

2222
[dev-dependencies]
2323
cobs = "0.5"
24-
criterion = "0.8"
2524
rand = "0.9"
2625
sysinfo = "0.37"
2726

27+
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
28+
criterion = "0.8"
29+
2830
[lib]
2931
bench = false
3032

0 commit comments

Comments
 (0)