A crate was declared but cannot be found.
Erroneous code example:
#![allow(unused)]
fn main() {
extern crate foo; // error: can't find crate
} You need to link your code to the relevant crate in order to be able to use it (through Cargo or the -L option of rustc, for example).
[dependencies] in Cargo.toml.package = under [dependencies] in Cargo.toml.std or core
std prepackaged. Consider one of the following: rustup target add
cargo build -Z build-std
#![no_std] at the crate root, so you won't need std in the first place.x.py build library/std. More information about x.py is available in the rustc-dev-guide.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0463.html