]> git.lizzy.rs Git - rust.git/blob - tests/ui/cfg/crt-static-off-works.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / cfg / crt-static-off-works.rs
1 // run-pass
2
3 #![allow(stable_features)]
4 // compile-flags:-C target-feature=-crt-static -Z unstable-options
5 // ignore-musl - requires changing the linker which is hard
6
7 #![feature(cfg_target_feature)]
8
9 #[cfg(not(target_feature = "crt-static"))]
10 fn main() {}