Closed
Description
I'm not very sure whether this is a bug or not. But let me write down the reproduction steps. I'm using the newest stable.
Cargo.toml:
[package]
name = "dummy"
version = "0.0.1"
edition = "2018"
[dependencies]
core = { version = "1.0", package = "rustc-std-workspace-core"}
src/lib.rs
#![no_std]
compiler output:
Compiling dummy v0.1.0 (L:\ThirdParty\rust\dummy)
error[E0433]: failed to resolve: could not find `prelude` in `core`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0433`.
error: Could not compile `dummy`.
To learn more, run the command again with --verbose.
The rustc-std-workspace-core
crate here is the one on crates.io. @alexcrichton
Metadata
Metadata
Assignees
Labels
No labels