Skip to content

Commit

Permalink
ci: Work around sanitizer issue on latest Linux kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 5, 2024
1 parent 10f9fb9 commit 536fb22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ jobs:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
run: rustup toolchain install nightly --component rust-src && rustup default nightly
# https://github.com/google/sanitizers/issues/1716 / https://github.com/actions/runner-images/issues/9491
- run: sudo sysctl vm.mmap_rnd_bits=28
- run: cargo -Z build-std test --workspace --all-features --target x86_64-unknown-linux-gnu --lib --tests
env:
# TODO: Once `cfg(sanitize = "..")` is stable, replace
Expand Down

0 comments on commit 536fb22

Please sign in to comment.