about summary refs log tree commit diff
path: root/tests/ui/sanitizer/leak.rs
diff options
context:
space:
mode:
authorAndrew Zhogin <andrew.zhogin@gmail.com>2025-03-20 12:43:44 +0700
committerAndrew Zhogin <andrew.zhogin@gmail.com>2025-08-21 16:08:00 +0700
commit6d637dfeccd7d22523e584203e666535db878165 (patch)
tree900bf6d447d53a771df6a2302b7158c286df807f /tests/ui/sanitizer/leak.rs
parent922958cffe059e9c156835df19d199ccd861c36a (diff)
downloadrust-6d637dfeccd7d22523e584203e666535db878165.tar.gz
rust-6d637dfeccd7d22523e584203e666535db878165.zip
-Zsanitize and -Zsanitizer-cfi-normalize-integers flags are now target modifiers with custom consistency check function
Diffstat (limited to 'tests/ui/sanitizer/leak.rs')
-rw-r--r--tests/ui/sanitizer/leak.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/sanitizer/leak.rs b/tests/ui/sanitizer/leak.rs
index 65915ec24b7..4ce3f7ab1b9 100644
--- a/tests/ui/sanitizer/leak.rs
+++ b/tests/ui/sanitizer/leak.rs
@@ -1,7 +1,7 @@
 //@ needs-sanitizer-support
 //@ needs-sanitizer-leak
 //
-//@ compile-flags: -Z sanitizer=leak -O
+//@ compile-flags: -Z sanitizer=leak -O -C unsafe-allow-abi-mismatch=sanitizer
 //
 //@ run-fail
 //@ error-pattern: LeakSanitizer: detected memory leaks