about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-02-18 17:31:38 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-02-18 17:31:38 +0100
commitb78123cdcf53b146da3739acc436eb883ee39d17 (patch)
treecb8e963a0a6f9a94ed8845456382843f8c2de480
parent6421a499a50adbaa7b5d0234bdd4817d970f0933 (diff)
downloadrust-b78123cdcf53b146da3739acc436eb883ee39d17.tar.gz
rust-b78123cdcf53b146da3739acc436eb883ee39d17.zip
Fix miniz_oxide types showing up in std
-rw-r--r--library/std/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index a03da0682a5..e2cfd4a14ac 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -365,6 +365,10 @@ extern crate libc;
 #[allow(unused_extern_crates)]
 extern crate unwind;
 
+#[doc(masked)]
+#[allow(unused_extern_crates)]
+extern crate miniz_oxide;
+
 // During testing, this crate is not actually the "real" std library, but rather
 // it links to the real std library, which was compiled from this same source
 // code. So any lang items std defines are conditionally excluded (or else they