Skip to content

Commit 135db9e

Browse files
committed
ci: remove -Zbuild-std from sanitizer workflow
No need to rebuild std with sanitizers - we're testing our code, not Rust's. This makes sanitizer jobs faster and cacheable.
1 parent 586d262 commit 135db9e

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/sanitizer.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v6
3333
- uses: dtolnay/rust-toolchain@nightly
34-
with:
35-
components: rust-src
3634
- uses: Swatinem/rust-cache@v2
3735
with:
3836
shared-key: "rust-cache-asan"
@@ -46,11 +44,11 @@ jobs:
4644
LSAN_OPTIONS: "fast_unwind_on_malloc=0"
4745
run: |
4846
# FFI crates (C interop)
49-
cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu \
47+
cargo +nightly test \
5048
-p key-wallet-ffi -p dash-spv-ffi -p dash-network-ffi --lib --tests
5149
5250
# Core crypto crates (unsafe optimizations)
53-
cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu \
51+
cargo +nightly test \
5452
-p dashcore -p dashcore_hashes --lib --tests
5553
5654
tsan:
@@ -59,8 +57,6 @@ jobs:
5957
steps:
6058
- uses: actions/checkout@v6
6159
- uses: dtolnay/rust-toolchain@nightly
62-
with:
63-
components: rust-src
6460
- uses: Swatinem/rust-cache@v2
6561
with:
6662
shared-key: "rust-cache-tsan"
@@ -72,5 +68,5 @@ jobs:
7268
TSAN_OPTIONS: "second_deadlock_stack=1"
7369
run: |
7470
# Async crate with concurrent code
75-
cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu \
71+
cargo +nightly test \
7672
-p dash-spv --lib --tests

0 commit comments

Comments
 (0)