mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
12 lines
258 B
Rust
12 lines
258 B
Rust
// No error, panic handler is supplied by libstd linked though the empty library.
|
|
|
|
//@ check-pass
|
|
//@ aux-build: cfg_false_lib_no_std_after.rs
|
|
//@ reference: cfg.attr.crate-level-attrs
|
|
|
|
#![no_std]
|
|
|
|
extern crate cfg_false_lib_no_std_after as _;
|
|
|
|
fn main() {}
|