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.
5 lines
190 B
Rust
5 lines
190 B
Rust
// `#![no_std]` on a fully unconfigured crate is respected if it's placed before `cfg(FALSE)`.
|
|
// This crate has no such attribute, therefore this crate does link to libstd.
|
|
|
|
#![cfg(FALSE)]
|