mirror of https://github.com/rust-lang/rust.git
Rollup merge of #94220 - GuillaumeGomez:miniz-oxide-decl, r=Amanieu
Correctly handle miniz_oxide extern crate declaration Fixes https://github.com/rust-lang/rust/issues/94219. Follow-up of https://github.com/rust-lang/rust/pull/94122. The `miniz_oxide` dependency is optional and therefore should allow be "imported" when it makes sense. r? `@ivmarkov`
This commit is contained in:
commit
ed3530925e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue