Skip to content

Commit 06d565c

Browse files
committed
rename rustc_allocator_nounwind to rustc_nounwind
1 parent 3fa89d0 commit 06d565c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fail/function_calls/exported_symbol_bad_unwind2.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@revisions: extern_block definition both
22
#![feature(rustc_attrs, c_unwind)]
33

4-
#[cfg_attr(any(definition, both), rustc_allocator_nounwind)]
4+
#[cfg_attr(any(definition, both), rustc_nounwind)]
55
#[no_mangle]
66
extern "C-unwind" fn nounwind() {
77
//[definition]~^ ERROR: abnormal termination: the program aborted execution
@@ -11,7 +11,7 @@ extern "C-unwind" fn nounwind() {
1111

1212
fn main() {
1313
extern "C-unwind" {
14-
#[cfg_attr(any(extern_block, both), rustc_allocator_nounwind)]
14+
#[cfg_attr(any(extern_block, both), rustc_nounwind)]
1515
fn nounwind();
1616
}
1717
unsafe { nounwind() }

0 commit comments

Comments
 (0)