mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 11:13:43 +00:00
46becfdf9c
Previously it removed all other attributes from the crate root. Now it removes only attributes below itself. So it becomes possible to configure some global crate properties even for fully unconfigured crates.
11 lines
214 B
Rust
11 lines
214 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
|
|
|
|
#![no_std]
|
|
|
|
extern crate cfg_false_lib_no_std_after as _;
|
|
|
|
fn main() {}
|