2023-04-10 06:20:38 -05:00
|
|
|
// Error, the linked empty library is `no_std` and doesn't provide a panic handler.
|
|
|
|
|
2024-02-16 14:02:50 -06:00
|
|
|
//@ dont-check-compiler-stderr
|
|
|
|
//@ error-pattern: `#[panic_handler]` function required, but not found
|
|
|
|
//@ aux-build: cfg_false_lib_no_std_before.rs
|
2023-04-10 06:20:38 -05:00
|
|
|
|
|
|
|
#![no_std]
|
|
|
|
|
|
|
|
extern crate cfg_false_lib_no_std_before as _;
|
|
|
|
|
|
|
|
fn main() {}
|