Skip to content

Commit

Permalink
Add needs-unwind to codegen test
Browse files Browse the repository at this point in the history
When compiled with -C panic=abort we'd generate an extra
panic_cannot_unwind shim in the variant calling C-unwind.
  • Loading branch information
nikic committed Apr 25, 2024
1 parent 137775d commit 976267b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/codegen/maybeuninit-rvo.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//@ compile-flags: -O
//@ needs-unwind
//@ min-llvm-version: 18
#![feature(c_unwind)]
#![crate_type = "lib"]
Expand Down

0 comments on commit 976267b

Please sign in to comment.