diff options
Diffstat (limited to 'tests/ui/cfg/auxiliary')
-rw-r--r-- | tests/ui/cfg/auxiliary/cfg_false_lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/cfg/auxiliary/cfg_false_lib.rs b/tests/ui/cfg/auxiliary/cfg_false_lib.rs new file mode 100644 index 000000000..3c011d72b --- /dev/null +++ b/tests/ui/cfg/auxiliary/cfg_false_lib.rs @@ -0,0 +1,6 @@ +// It is unclear whether a fully unconfigured crate should link to standard library, +// or what its `no_std`/`no_core`/`compiler_builtins` status, more precisely. +// Currently the usual standard library prelude is added to such crates, +// and therefore they link to libstd. + +#![cfg(FALSE)] |