This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-03 21:47:36 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
453b51a65a
rust
/
tests
/
ui
/
conditional-compilation
/
cfg-in-crate-1.rs
4 lines
61 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ error-pattern: `main` function not found
rustc: Process #[cfg]/#[cfg_attr] on crates This commit implements processing these two attributes at the crate level as well as at the item level. When #[cfg] is applied at the crate level, then the entire crate will be omitted if the cfg doesn't match. The #[cfg_attr] attribute is processed as usual in that the attribute is included or not depending on whether the cfg matches. This was spurred on by motivations of #18585 where #[cfg_attr] annotations will be applied at the crate-level. cc #18585
2014-11-04 22:59:42 +00:00
Unify all the always-false cfgs under the `FALSE` cfg
2024-04-06 22:43:00 +00:00
#![
cfg(FALSE)
]
Reference in New Issue
Copy Permalink