We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tests/ui/cfg/cfg_false_no_std-2.rs
-Cpanic=abort
1 parent f97b3c6 commit d24b35aCopy full SHA for d24b35a
tests/ui/cfg/cfg_false_no_std-2.rs
@@ -1,7 +1,7 @@
1
// Error, the linked empty library is `no_std` and doesn't provide a panic handler.
2
3
-//@ dont-require-annotations: ERROR
4
//@ dont-check-compiler-stderr
+//@ compile-flags: -Cpanic=abort
5
//@ aux-build: cfg_false_lib_no_std_before.rs
6
7
#![no_std]
@@ -11,6 +11,3 @@ extern crate cfg_false_lib_no_std_before as _;
11
fn main() {}
12
13
//~? ERROR `#[panic_handler]` function required, but not found
14
-// FIXME: This error is target-dependent, could be served by some "optional error" annotation
15
-// instead of `dont-require-annotations`.
16
-//FIXME~? ERROR unwinding panics are not supported without std
0 commit comments