Skip to content

Commit 910d46f

Browse files
Correctly handle miniz_oxide extern crate declaration
1 parent 1103d2e commit 910d46f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ extern crate unwind;
366366

367367
#[doc(masked)]
368368
#[allow(unused_extern_crates)]
369+
#[cfg(feature = "miniz_oxide")]
369370
extern crate miniz_oxide;
370371

371372
// During testing, this crate is not actually the "real" std library, but rather

0 commit comments

Comments
 (0)