mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-25 19:17:04 +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:
@@ -1,4 +1,5 @@
|
||||
//@ compile-flags: -O
|
||||
//@ needs-unwind
|
||||
//@ min-llvm-version: 18
|
||||
#![feature(c_unwind)]
|
||||
#![crate_type = "lib"]
|
||||
|
||||
Reference in New Issue
Block a user