about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoïc BRANSTETT <loic.branstett@epitech.eu>2021-10-08 16:13:49 +0200
committerLoïc BRANSTETT <loic.branstett@epitech.eu>2021-10-08 16:13:49 +0200
commit31b2eb16e35fd46e5e04f2de92fb680d79c9e5e2 (patch)
tree84f76ad632b7c7f2350a512330bdda2ba0f2dc2e
parent44995f7afb18775913618ae50601be31b9f9dead (diff)
downloadrust-31b2eb16e35fd46e5e04f2de92fb680d79c9e5e2.tar.gz
rust-31b2eb16e35fd46e5e04f2de92fb680d79c9e5e2.zip
Cfg hide more conditions for core
-rw-r--r--library/core/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs
index 630876445ba..e10d01b58b0 100644
--- a/library/core/src/lib.rs
+++ b/library/core/src/lib.rs
@@ -64,6 +64,7 @@
     not(bootstrap),
     doc(cfg_hide(
         not(test),
+        any(not(feature = "miri-test-libstd"), test, doctest),
         target_pointer_width = "16",
         target_pointer_width = "32",
         target_pointer_width = "64",