Skip to content

Commit 5a88717

Browse files
authored
Merge pull request #258 from paoloteti/fix-ci
Rename `panic_implementation` -> `panic_handler`
2 parents f3a13eb + 50ea70d commit 5a88717

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test = false
1010
cc = { optional = true, version = "1.0" }
1111

1212
[dev-dependencies]
13-
panic-implementation = { path = 'crates/panic-implementation' }
13+
panic-handler = { path = 'crates/panic-handler' }
1414

1515
[features]
1616
default = ["compiler-builtins"]

crates/panic-implementation/Cargo.toml renamed to crates/panic-handler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "panic-implementation"
2+
name = "panic-handler"
33
version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
55

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Hack of a crate until rust-lang/rust#51647 is fixed
22

3-
#![feature(no_core, panic_implementation)]
3+
#![feature(no_core, panic_handler)]
44
#![no_core]
55

66
extern crate core;
77

8-
#[panic_implementation]
8+
#[panic_handler]
99
fn panic(_: &core::panic::PanicInfo) -> ! {
1010
loop {}
1111
}

examples/intrinsics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
#![feature(lang_items)]
1212
#![feature(start)]
1313
#![feature(allocator_api)]
14-
#![feature(panic_implementation)]
14+
#![feature(panic_handler)]
1515
#![cfg_attr(windows, feature(panic_unwind))]
1616
#![no_std]
1717

18-
extern crate panic_implementation;
18+
extern crate panic_handler;
1919

2020
#[cfg(not(thumb))]
2121
#[link(name = "c")]

0 commit comments

Comments
 (0)