From b78123cdcf53b146da3739acc436eb883ee39d17 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 18 Feb 2022 17:31:38 +0100 Subject: [PATCH] Fix miniz_oxide types showing up in std --- library/std/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ #[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