about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-04-25 11:44:32 +0900
committerNikita Popov <npopov@redhat.com>2024-04-25 11:44:32 +0900
commit976267b5141ef9a72ba3cb9edf01ca3bc53ec81e (patch)
treee256d5d168e20061072f9081818577616cb47d7f
parent137775dd631769bd83c90ec8f12bb17db9e6d411 (diff)
downloadrust-976267b5141ef9a72ba3cb9edf01ca3bc53ec81e.tar.gz
rust-976267b5141ef9a72ba3cb9edf01ca3bc53ec81e.zip
Add needs-unwind to codegen test
When compiled with -C panic=abort we'd generate an extra
panic_cannot_unwind shim in the variant calling C-unwind.
-rw-r--r--tests/codegen/maybeuninit-rvo.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/codegen/maybeuninit-rvo.rs b/tests/codegen/maybeuninit-rvo.rs
index d21e878c818..cc5da39a9ca 100644
--- a/tests/codegen/maybeuninit-rvo.rs
+++ b/tests/codegen/maybeuninit-rvo.rs
@@ -1,4 +1,5 @@
 //@ compile-flags: -O
+//@ needs-unwind
 //@ min-llvm-version: 18
 #![feature(c_unwind)]
 #![crate_type = "lib"]