diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-04-25 11:44:32 +0900 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2024-04-25 11:44:32 +0900 |
| commit | 976267b5141ef9a72ba3cb9edf01ca3bc53ec81e (patch) | |
| tree | e256d5d168e20061072f9081818577616cb47d7f | |
| parent | 137775dd631769bd83c90ec8f12bb17db9e6d411 (diff) | |
| download | rust-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.rs | 1 |
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"] |
