diff --git a/.github/workflows/sanitizer.yml b/.github/workflows/sanitizer.yml index 839bb8fe8..f44639514 100644 --- a/.github/workflows/sanitizer.yml +++ b/.github/workflows/sanitizer.yml @@ -18,13 +18,6 @@ on: permissions: contents: read -# Pinned nightly: nightly-2026-07-14 (rustc daf2e5e18) ICEs while expanding the -# libtest harness for dash-spv-ffi ("attribute is missing tokens: -# rustc_test_entrypoint_marker" in rustc_ast/src/attr/mod.rs). Bump or restore -# the floating `nightly` once a fixed nightly ships. -env: - SANITIZER_TOOLCHAIN: nightly-2026-07-13 - concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -35,9 +28,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@nightly with: - toolchain: ${{ env.SANITIZER_TOOLCHAIN }} components: rust-src - name: Run tests with ASAN @@ -49,11 +41,11 @@ jobs: SKIP_DASHD_TESTS: 1 run: | # FFI crates (C interop) - cargo "+$SANITIZER_TOOLCHAIN" test -Zbuild-std --target x86_64-unknown-linux-gnu \ + cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu \ -p key-wallet-ffi -p dash-spv-ffi --lib --tests # Core crypto crates (unsafe optimizations) - cargo "+$SANITIZER_TOOLCHAIN" test -Zbuild-std --target x86_64-unknown-linux-gnu \ + cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu \ -p dashcore -p dashcore_hashes --lib --tests tsan: @@ -61,9 +53,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@nightly with: - toolchain: ${{ env.SANITIZER_TOOLCHAIN }} components: rust-src - name: Run tests with TSAN @@ -74,5 +65,5 @@ jobs: SKIP_DASHD_TESTS: 1 run: | # Async crate with concurrent code - cargo "+$SANITIZER_TOOLCHAIN" test -Zbuild-std --target x86_64-unknown-linux-gnu \ + cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu \ -p dash-spv --lib --tests