mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Do not check for LEAK & KERNELHWADDRESS because they are incompatible
This commit is contained in:
@@ -1341,7 +1341,6 @@ fn add_sanitizer_libraries(
|
||||
if sanitizer.contains(SanitizerSet::LEAK)
|
||||
&& !sanitizer.contains(SanitizerSet::ADDRESS)
|
||||
&& !sanitizer.contains(SanitizerSet::HWADDRESS)
|
||||
&& !sanitizer.contains(SanitizerSet::KERNELHWADDRESS)
|
||||
{
|
||||
link_sanitizer_runtime(sess, flavor, linker, "lsan");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user