Skip to content

Commit cd72596

Browse files
committed
Raname panic_implementation -> panic_handler
rust-lang/rust#53619
1 parent 70bb651 commit cd72596

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/proxy.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ crate_type = ["dylib"]
2525
"#;
2626

2727
const DEFAULT_LIB_PREFIX: &str = r#"
28-
#![feature(panic_implementation)]
28+
#![feature(panic_handler)]
2929
#![no_std]
3030
3131
"#;
3232

3333
const DEFAULT_LIB_SUFFIX: &str = r#"
3434
3535
// Needed because we compile `dylib`...
36-
#[panic_implementation]
36+
#[panic_handler]
3737
fn panic(_info: &::core::panic::PanicInfo) -> ! {
3838
loop {}
3939
}

0 commit comments

Comments
 (0)