diff --git a/crates/bevy_dylib/Cargo.toml b/crates/bevy_dylib/Cargo.toml index 26aec33b83..054441dd66 100644 --- a/crates/bevy_dylib/Cargo.toml +++ b/crates/bevy_dylib/Cargo.toml @@ -12,7 +12,11 @@ keywords = ["bevy"] crate-type = ["dylib"] [dependencies] -bevy_internal = { path = "../bevy_internal", version = "0.16.0-dev", default-features = false } +# feature std is needed to avoid an issue when linking critical_section +# bevy_dylib is not expected to work in no_std +bevy_internal = { path = "../bevy_internal", version = "0.16.0-dev", default-features = false, features = [ + "std", +] } [lints] workspace = true