mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
469d34b39b
Due to incorrect CI configuration, this test was not being run on macOS. aarch64-apple-darwin will start running it, so we correct the configuration.
13 lines
201 B
Rust
13 lines
201 B
Rust
// aux-build:panic-handler.rs
|
|
// compile-flags: --document-private-items
|
|
// build-pass
|
|
// only-linux
|
|
|
|
#![no_std]
|
|
#![no_main]
|
|
|
|
#[panic_handler]
|
|
fn panic(_: &core::panic::PanicInfo) -> ! {
|
|
loop {}
|
|
}
|