diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-02-21 17:27:55 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-02-21 17:27:55 +0100 |
| commit | 910d46fd60686e031e82ee87dec14f8002f5c8f3 (patch) | |
| tree | f3600a7c70afa0b20f3e34a57f2c3bd30edeee66 | |
| parent | 1103d2e914b67c18b0deb86073c26c6aefda761d (diff) | |
| download | rust-910d46fd60686e031e82ee87dec14f8002f5c8f3.tar.gz rust-910d46fd60686e031e82ee87dec14f8002f5c8f3.zip | |
Correctly handle miniz_oxide extern crate declaration
| -rw-r--r-- | library/std/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
