bevy_reflect: no no_std
support when the functions
feature is enabled
#18051
Labels
A-Reflection
Runtime information about types
C-Bug
An unexpected or incorrect behavior
D-Modest
A "normal" level of difficulty; suitable for simple features or challenging fixes
O-Embedded
Weird hardware and no_std platforms
Bevy version
The release number or commit hash of the version you're using.
Bevy main
11db717
What you did
I'm trying to use
bevy_reflect
in a project and this project requiresno_std
support. the latestbevy_reflect
releasev0.15.3
hasno_std
support, but not really, since the#[derive(Reflect)]
uses::std::boxed::Box<..>
in the trait implementation.After some search and looking for the code on github, I found that it actually now supports
no_std
, However, enabling thefunctions
feature makes it not compiling withoutstd
feature enabled as it still usesstd
here:bevy/crates/bevy_reflect/src/func/registry.rs
Line 5 in 11db717
What went wrong
bevy_reflect
hasno_std
support.func
module does not fully work whenstd
feature is disabled.The text was updated successfully, but these errors were encountered: