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