Skip to content

Commit ed35309

Browse files
authored
Rollup merge of #94220 - GuillaumeGomez:miniz-oxide-decl, r=Amanieu
Correctly handle miniz_oxide extern crate declaration Fixes #94219. Follow-up of #94122. The `miniz_oxide` dependency is optional and therefore should allow be "imported" when it makes sense. r? `@ivmarkov`
2 parents 9157775 + 910d46f commit ed35309

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)