-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
With the last upstream rust, whenever I build rustdoc (with x.py doc std --stage 1
) and try to use it on this code:
pub struct Foo(u8);
I get the following output:
$ ./build/x86_64-unknown-linux-gnu/stage1/bin/rustdoc foo.rs
error[E0463]: can't find crate for `std`
error: Compilation failed, aborting rustdoc
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0463`.
I tried with stage 2
but got the same error as well. Anyone has an idea what's going on?
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)