Skip to content

-Z build-std=std pulls in test crate and fails #111253

Closed as not planned
Closed as not planned
@robertbastian

Description

@robertbastian

This started happening on this nightly:

$ cargo +nightly --version
cargo 1.71.0-nightly (ac8401032 2023-05-02)

This can be reprod in an empty crate:

$ cargo init repro
$ cd repro
$ cargo +nightly build -Z build-std=std --target wasm32-unknown-unknown
error: Package `test v0.0.0 (.../lib/rustlib/src/rust/library/test)` does not have the feature `backtrace`

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions