bevy/crates/bevy_app/src
Zachary Harrold 5f42c9ab6d
Fix no_std CI Warnings and WASM Compatibility (#17049)
# Objective

- Resolve several warnings encountered when compiling for `no_std`
around `dead_code`
- Fix compatibility with `wasm32-unknown-unknown` when using `no_std`
(identified by Sachymetsu on
[Discord](https://discord.com/channels/691052431525675048/692572690833473578/1323365426901549097))

## Solution

- Removed some unused imports
- Added `allow(dead_code)` for certain private items when compiling on
`no_std`
- Fixed `bevy_app` and `bevy_tasks` compatibility with WASM when
compiling without `std` by appropriately importing `Box` and feature
gating panic unwinding

## Testing

- CI
2024-12-30 23:01:27 +00:00
..
app.rs Expose access to SubApps within App (#16952) 2024-12-24 06:15:16 +00:00
lib.rs Remove bevy_core (#16897) 2024-12-19 18:36:51 +00:00
main_schedule.rs Add no_std support to bevy_app (#16874) 2024-12-18 22:04:45 +00:00
panic_handler.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
plugin_group.rs Add fallible add methods to PluginGroupBuilder (#17005) 2024-12-30 20:14:02 +00:00
plugin.rs Add no_std support to bevy_app (#16874) 2024-12-18 22:04:45 +00:00
schedule_runner.rs Fix no_std CI Warnings and WASM Compatibility (#17049) 2024-12-30 23:01:27 +00:00
sub_app.rs Add SubApp::take_extract() (#16862) 2024-12-24 18:26:32 +00:00
task_pool_plugin.rs Remove bevy_core (#16897) 2024-12-19 18:36:51 +00:00
terminal_ctrl_c_handler.rs Add no_std support to bevy_app (#16874) 2024-12-18 22:04:45 +00:00