From 910d46fd60686e031e82ee87dec14f8002f5c8f3 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 21 Feb 2022 17:27:55 +0100 Subject: [PATCH] Correctly handle miniz_oxide extern crate declaration --- library/std/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 2628afd4237..5dc586d3a2a 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -366,6 +366,7 @@ extern crate unwind; #[doc(masked)] #[allow(unused_extern_crates)] +#[cfg(feature = "miniz_oxide")] extern crate miniz_oxide; // During testing, this crate is not actually the "real" std library, but rather