mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
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.
This commit is contained in:
parent
137775dd63
commit
976267b514
@ -1,4 +1,5 @@
|
||||
//@ compile-flags: -O
|
||||
//@ needs-unwind
|
||||
//@ min-llvm-version: 18
|
||||
#![feature(c_unwind)]
|
||||
#![crate_type = "lib"]
|
||||
|
Loading…
Reference in New Issue
Block a user