Skip to content

Commit

Permalink
Actually run the address sanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Oct 7, 2024
1 parent 8dfc719 commit 7314d45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Run tests through miri
env:
RUSTFLAGS: "-Z randomize-layout"
RUSTFLAGS: "-Zrandomize-layout"
run: cargo hack miri test --feature-powerset

address-sanitizer:
Expand All @@ -62,5 +62,5 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Run tests through address sanitizer
env:
RUSTFLAGS: "-Z randomize-layout"
RUSTFLAGS: "-Zrandomize-layout -Zsanitizer=address"
run: cargo hack test --feature-powerset -Zbuild-std --target x86_64-unknown-linux-gnu

0 comments on commit 7314d45

Please sign in to comment.