From 5a570f187aa20cb19999030589abac6421604035 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 12 Jan 2024 09:11:56 +0100 Subject: [PATCH] Remove obsolete LSAN workaround --- fish-rust/src/tests/complete.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/fish-rust/src/tests/complete.rs b/fish-rust/src/tests/complete.rs index 09138c1d4..fe1ed889e 100644 --- a/fish-rust/src/tests/complete.rs +++ b/fish-rust/src/tests/complete.rs @@ -479,13 +479,6 @@ macro_rules! perform_one_completion_cd_test { }; } - // // We execute LSAN with use_tls=0 under CI to avoid a SIGSEGV crash in LSAN itself. - // // Unfortunately, this causes it to incorrectly flag a memory leak here that doesn't reproduce - // // locally with use_tls=1. - // #ifdef FISH_CI_SAN - // __lsan::ScopedDisabler disable_leak_detection{}; - // #endif - std::fs::create_dir_all("test/autosuggest_test/0foobar").unwrap(); std::fs::create_dir_all("test/autosuggest_test/1foo bar").unwrap(); std::fs::create_dir_all("test/autosuggest_test/2foo bar").unwrap();