From 8bb1bb8ae1fc1d1d8efd48d245237017f4e68048 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 12 Mar 2023 22:29:54 -0700 Subject: [PATCH] Add link-asan to RUSTFLAGS in CI This fixes our CI for the new crates we're about to add. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index addedb616..b4822c885 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: