Skip to content

can't find crate std in rustc #91228

Description

@JIVIN0902
For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `std`
 --> /Users/jivinvaidya/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/inline_lazy.rs:9:1
  |
9 | extern crate std;
  | ^^^^^^^^^^^^^^^^^ can't find crate
  |
  = note: the `bpfel-unknown-unknown` target may not support the standard library
  = help: consider building the standard library from source with `cargo build -Zbuild-std`

I am unable to compile the code due to this error. Any help is appreciated. Thanks

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-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions