about summary refs log tree commit diff
path: root/tests/ui/sanitizer/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/sanitizer/thread.rs')
-rw-r--r--tests/ui/sanitizer/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/sanitizer/thread.rs b/tests/ui/sanitizer/thread.rs
index 9073124d1bd..8f72b1b41a8 100644
--- a/tests/ui/sanitizer/thread.rs
+++ b/tests/ui/sanitizer/thread.rs
@@ -13,7 +13,7 @@
 //@ needs-sanitizer-support
 //@ needs-sanitizer-thread
 //
-//@ compile-flags: -Z sanitizer=thread -O
+//@ compile-flags: -Z sanitizer=thread -O -C unsafe-allow-abi-mismatch=sanitizer
 //
 //@ run-fail-or-crash
 //@ error-pattern: WARNING: ThreadSanitizer: data race