From 536fb22559144dbb46ce9cb63bed4b2947640fad Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 18 Mar 2024 02:07:00 +0900 Subject: [PATCH] ci: Work around sanitizer issue on latest Linux kernel --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 436d14a9f..5a48f5340 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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