Skip to content

rustdoc: error[E0463]: can't find crate for std #96177

Description

@GuillaumeGomez

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions