From 88ae19e6c6188f61fbd884fe45b1572951de8cc4 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/miri.sh b/ci/miri.sh index fa6054821..118436ccb 100755 --- a/ci/miri.sh +++ b/ci/miri.sh @@ -19,6 +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 + MIRI_LEAK_CHECK='1' \ MIRIFLAGS="${MIRIFLAGS} -Zmiri-ignore-leaks" \ cargo miri test --all-features \ -p crossbeam-channel --test golang 2>&1 | ts -i '%.s '