-Z build-std broken on latest nightly: could not read vendor path #80148
Labels
C-bug
Category: This is a bug.
requires-nightly
This issue requires a nightly compiler in some way.
T-cargo
Relevant to the cargo team, which will review and decide on the PR/issue.
Steps to reproduce
cargo new --lib example && cd example
echo "#![no_std]" > src/lib.rs
cargo +nightly check --target x86_64-unknown-linux-gnu -Z build-std=core
(The actual target doesn't seem to matter, the
build-std
feature just requires that we pass a--target
argument.)The following error occurs:
Cause
I think this issue occurs because #80082 already landed, while the cargo-side revert in #80081 did not. So this issue will likely go away after the next cargo update. I still decided to open this issue in case other people encounter the same problem.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: