We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f94e0c commit 36ecbbdCopy full SHA for 36ecbbd
tests/ui/external-crate-panic-handle-no-lint/app.rs
@@ -1,4 +1,5 @@
1
//@ compile-flags: -Cpanic=abort --emit=obj
2
+//@ aux-build: panic.rs
3
//@ check-pass
4
5
// Defining a crate that provides panic handling as an external crate
tests/ui/external-crate-panic-handle-no-lint/panic.rs renamed to tests/ui/external-crate-panic-handle-no-lint/auxiliary/panic.rs
@@ -1,5 +1,4 @@
#![crate_type = "lib"]
-#![feature(panic_handler)]
#![no_std]
use core::panic::PanicInfo;
0 commit comments