From 79996af69cfe67ef63309a73569441735be74870 Mon Sep 17 00:00:00 2001 From: Robin Freyler Date: Wed, 14 Aug 2024 13:40:55 +0200 Subject: [PATCH] Fix ASAN CI job (#1150) fix ASAN CI job --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0539d30e10..69914342a3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -78,11 +78,11 @@ jobs: run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu - name: Build Tests env: - RUSTFLAGS: "--cfg debug_assertions -Zsanitizer=address" + RUSTFLAGS: "-C debug-assertions -Zsanitizer=address" run: cargo build --tests --workspace --locked -Zbuild-std --target x86_64-unknown-linux-gnu --verbose - name: Test env: - RUSTFLAGS: "--cfg debug_assertions -Zsanitizer=address" + RUSTFLAGS: "-C debug-assertions -Zsanitizer=address" run: cargo test --workspace --locked --tests -Zbuild-std --target x86_64-unknown-linux-gnu test: