Skip to content

Commit 33c46b3

Browse files
committed
ci: Work around sanitizer issue on latest Linux kernel
1 parent 7bf5a72 commit 33c46b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ jobs:
266266
- uses: taiki-e/checkout-action@v1
267267
- name: Install Rust
268268
run: rustup toolchain install nightly --component rust-src && rustup default nightly
269+
# https://github.com/google/sanitizers/issues/1716 / https://github.com/actions/runner-images/issues/9491
270+
- run: sudo sysctl vm.mmap_rnd_bits=28
269271
- run: cargo -Z build-std test --workspace --all-features --target x86_64-unknown-linux-gnu --lib --tests
270272
env:
271273
# TODO: Once `cfg(sanitize = "..")` is stable, replace

0 commit comments

Comments
 (0)