Add link-asan to RUSTFLAGS in CI

This fixes our CI for the new crates we're about to add.
This commit is contained in:
ridiculousfish 2023-03-12 22:29:54 -07:00
parent 76145145fd
commit 8bb1bb8ae1

View file

@ -79,7 +79,7 @@ jobs:
# use-after-scope, double-free, invalid-free, and memory leaks.
# * MemorySanitizer detects uninitialized reads.
#
RUSTFLAGS: "-Zsanitizer=address"
RUSTFLAGS: "-Zsanitizer=address -C link-args=-lasan"
# RUSTFLAGS: "-Zsanitizer=memory -Zsanitizer-memory-track-origins"
steps: