Skip to content

Commit 48b58c0

Browse files
committed
ci: Work around sanitizer issue on latest Linux kernel
1 parent ac4e23f commit 48b58c0

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
@@ -258,6 +258,8 @@ jobs:
258258
- name: Install Rust
259259
# TODO: LLVM bug https://github.com/rust-lang/rust/issues/122476
260260
run: rustup toolchain install nightly-2024-03-13 --component rust-src && rustup default nightly-2024-03-13
261+
# https://github.com/google/sanitizers/issues/1716 / https://github.com/actions/runner-images/issues/9491
262+
- run: sudo sysctl vm.mmap_rnd_bits=28
261263
- run: cargo -Z build-std test --workspace --all-features --target x86_64-unknown-linux-gnu --lib --tests
262264
env:
263265
# TODO: Once `cfg(sanitize = "..")` is stable, replace

0 commit comments

Comments
 (0)