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 Mar 17, 2024
1 parent ac4e23f commit 48b58c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -258,6 +258,8 @@ jobs:
- name: Install Rust
# TODO: LLVM bug https://github.com/rust-lang/rust/issues/122476
run: rustup toolchain install nightly-2024-03-13 --component rust-src && rustup default nightly-2024-03-13
# 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 48b58c0

Please sign in to comment.