Project that depends on Bevy with no default features but just feature [std] fails to compile (use of unresolved module or unlinked crate bevy_utils
)
#18200
Labels
A-Transform
Translations, rotations and scales
C-Bug
An unexpected or incorrect behavior
P-Compile-Failure
A failure to compile Bevy apps
S-Needs-Investigation
This issue requires detective work to figure out what's going wrong
Bevy version
0.16.0-dev
commit: ab38b61
What you did
I've created a brand new project with
cargo new bevy-example
and added a bevy dependency to my Cargo.toml like so:
What went wrong
doing
cargo build
results in this compilation error:Additional information
I'm not sure if I can use bevy with feature
std
on it's own, but this issue persists even if I use featuresstd
andasync_executor
.You can get this exact compilation error if you clone bevy and try to build it with this command:
cargo build --no-default-features --features std
I think this may be caused by #17955 :( (I've followed the migration guide for that change but that hasn't resolved my error)
The text was updated successfully, but these errors were encountered: