-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add no_std
support to bevy_window
#17031
Conversation
@@ -134,6 +134,14 @@ impl Prepare for CompileCheckNoStdCommand { | |||
"Please fix compiler errors in output above for bevy_state no_std compatibility.", | |||
)); | |||
|
|||
commands.push(PreparedCommand::new::<Self>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably start deduplicating this logic soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah @BD103 and I had a chat about this earlier today. I like the idea of moving this out into a toml
, csv
or some other "plain data" file format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think we're rapidly reaching a critical mass of functionality where we could replace this CI task with just an example crate instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice if this could be rolled up into a loop, but the macro requires a string literal, which means no format string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the improved features documentation!
Head branch was pushed to by a user without write access
@alice-i-cecile just ran |
Objective
no_std
Bevy #15460Solution
std
(default)bevy_reflect
(default)libm
Testing
Notes
bevy_reflect
was previously always enabled, which isn't how most other crates handle reflection. I've brought this in line with how most crates gatebevy_reflect
. This is where the majority of the changes come from in this PR.