Skip to content

Commit bb0cca2

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)