Closed
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?