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: