Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
robertbastian opened this issue May 5, 2023 · 3 comments
Closed

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

robertbastian opened this issue May 5, 2023 · 3 comments
Labels
C-bug Category: This is a bug.

Comments

@robertbastian
Copy link
Contributor

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`
@robertbastian robertbastian added the C-bug Category: This is a bug. label May 5, 2023
@Manishearth
Copy link
Member

(The nightly is also 74c4821 for rustc)

@Manishearth
Copy link
Member

Immediate hunch is that it's due to #108865

@robertbastian
Copy link
Contributor Author

Right, this is a dupe of #111225

@robertbastian robertbastian closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants