about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-05-23 15:20:25 +0200
committerUrgau <urgau@numericable.fr>2024-05-23 15:20:25 +0200
commit324b66c553085c5e24c00a70e563beddc3beb89f (patch)
treecc5a62ca4937cf56b06fda02e47944e73e22229f /library/std
parent39d2f2affdd6b2856ab4b91359cc0d32b90bd26f (diff)
downloadrust-324b66c553085c5e24c00a70e563beddc3beb89f.tar.gz
rust-324b66c553085c5e24c00a70e563beddc3beb89f.zip
Expect any feature cfg in core and std crates
Diffstat (limited to 'library/std')
-rw-r--r--library/std/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
index 4b8ee4c1309..4b9e827247e 100644
--- a/library/std/Cargo.toml
+++ b/library/std/Cargo.toml
@@ -105,5 +105,8 @@ check-cfg = [
     'cfg(backtrace_in_libstd)',
     'cfg(netbsd10)',
     'cfg(target_arch, values("xtensa"))',
-    'cfg(feature, values("std", "as_crate"))',
+    # std use #[path] imports to portable-simd `std_float` crate
+    # and to the `backtrace` crate which messes-up with Cargo list
+    # of declared features, we therefor expect any feature cfg
+    'cfg(feature, values(any()))',
 ]