Skip to content

PR #94122 Broke cargo -Z build-std #94219

Closed

Description

I don't know how that's possible, but #94122 broke cargo -Z build-std, so all our CIs currently fail with:

...
Compiling rustc-demangle v0.1.21
   Compiling thiserror-impl v1.0.30
   Compiling strum_macros v0.23.1
   Compiling ureq v2.4.0
   Compiling rustc-std-workspace-alloc v1.99.0 (/home/ivan/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc)
   Compiling panic_abort v0.0.0 (/home/ivan/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort)
   Compiling panic_unwind v0.0.0 (/home/ivan/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind)
   Compiling std_detect v0.1.5 (/home/ivan/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect)
   Compiling hashbrown v0.12.0
   Compiling thiserror v1.0.30
error[E0463]: can't find crate for `miniz_oxide`
   --> /home/ivan/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/lib.rs:369:1
    |
369 | extern crate miniz_oxide;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

...

Commenting out the three lines this PR introduces allows the STD build to proceed normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.regression-untriagedUntriaged performance or correctness regression.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions