From 757adee602078c53b6f8e03abd23bb8866697597 Mon Sep 17 00:00:00 2001 From: driftluo Date: Fri, 24 Jan 2025 14:12:36 +0800 Subject: [PATCH] ci: add MIRI_LEAK_CHECK=1 on ci --- ci/miri.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/miri.sh b/ci/miri.sh index fa6054821..3909387d9 100755 --- a/ci/miri.sh +++ b/ci/miri.sh @@ -19,7 +19,7 @@ case "${group}" in cargo miri test --all-features \ -p crossbeam-channel 2>&1 | ts -i '%.s ' # -Zmiri-ignore-leaks is needed because we use detached threads in tests in tests/golang.rs: https://github.com/rust-lang/miri/issues/1371 - MIRIFLAGS="${MIRIFLAGS} -Zmiri-ignore-leaks" \ + MIRI_LEAK_CHECK='1' MIRIFLAGS="${MIRIFLAGS} -Zmiri-ignore-leaks" \ cargo miri test --all-features \ -p crossbeam-channel --test golang 2>&1 | ts -i '%.s ' ;;