From c7009b05c1eca00a8443fb2d873fa647e76b2bb8 Mon Sep 17 00:00:00 2001 From: Boquan Fang Date: Tue, 10 Dec 2024 19:49:05 +0000 Subject: [PATCH] Only apply Z symbol to ASAN job --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12751e676..e02241c6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,6 @@ env: # This should be occasionally updated. RUST_NIGHTLY_TOOLCHAIN: nightly-2024-12-01 ROOT_PATH: . - RUSTDOCFLAGS: -Zsanitizer=address - RUSTFLAGS: -Zsanitizer=address CDN: https://dnglbrstg7yg.cloudfront.net # enable unstable features for testing S2N_UNSTABLE_CRYPTO_OPT_TX: 100 @@ -285,6 +283,9 @@ jobs: ${{ matrix.target != 'native' && 'cross' || 'cargo' }} test --workspace ${{ matrix.exclude }} ${{ matrix.target != 'native' && format('--target {0}', matrix.target) || '' }} ${{ matrix.args }} - name: Run Unit Tests under ASAN + env: + RUSTDOCFLAGS: -Zsanitizer=address + RUSTFLAGS: -Zsanitizer=address run: | cargo test \ -Zbuild-std \