Have ASAN CI use debug build

This catches things that might be optimized away by the compiler.
This commit is contained in:
Mahmoud Al-Qudsi 2023-03-07 12:32:54 -06:00
parent 91cf526d23
commit ce5686edc7

View file

@ -102,7 +102,7 @@ jobs:
mkdir build && cd build
# Rust's ASAN requires the build system to explicitly pass a --target triple. We read that
# value from CMake variable Rust_CARGO_TARGET (shared with corrosion).
cmake .. -DASAN=1 -DRust_CARGO_TARGET=x86_64-unknown-linux-gnu
cmake .. -DASAN=1 -DRust_CARGO_TARGET=x86_64-unknown-linux-gnu -DCMAKE_BUILD_TYPE=Debug
- name: make
run: |
make