diff options
Diffstat (limited to 'src/tools/cargo/tests/testsuite/mock-std/library/panic_unwind')
-rw-r--r-- | src/tools/cargo/tests/testsuite/mock-std/library/panic_unwind/Cargo.toml | 5 | ||||
-rw-r--r-- | src/tools/cargo/tests/testsuite/mock-std/library/panic_unwind/src/lib.rs | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/cargo/tests/testsuite/mock-std/library/panic_unwind/Cargo.toml b/src/tools/cargo/tests/testsuite/mock-std/library/panic_unwind/Cargo.toml new file mode 100644 index 000000000..e7beb923f --- /dev/null +++ b/src/tools/cargo/tests/testsuite/mock-std/library/panic_unwind/Cargo.toml @@ -0,0 +1,5 @@ +[package] +name = "panic_unwind" +version = "0.1.0" +authors = ["Alex Crichton <alex@alexcrichton.com>"] +edition = "2018" diff --git a/src/tools/cargo/tests/testsuite/mock-std/library/panic_unwind/src/lib.rs b/src/tools/cargo/tests/testsuite/mock-std/library/panic_unwind/src/lib.rs new file mode 100644 index 000000000..6af65d875 --- /dev/null +++ b/src/tools/cargo/tests/testsuite/mock-std/library/panic_unwind/src/lib.rs @@ -0,0 +1,5 @@ +#![feature(panic_unwind, panic_runtime)] +#![panic_runtime] +#![no_std] + +extern crate panic_unwind; |