bevy/crates/bevy_reflect/src/impls
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
..
foldhash.rs Update hashbrown to 0.15 (#15801) 2024-12-10 19:45:50 +00:00
glam.rs Fix no_std CI Warnings and WASM Compatibility (#17049) 2024-12-30 23:01:27 +00:00
petgraph.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
smallvec.rs Fix no_std CI Warnings and WASM Compatibility (#17049) 2024-12-30 23:01:27 +00:00
smol_str.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
std.rs Event source location tracking (#16778) 2024-12-12 18:12:53 +00:00
uuid.rs bevy_reflect: Replace "value" terminology with "opaque" (#15240) 2024-09-23 18:04:57 +00:00
wgpu_types.rs bevy_reflect: Replace "value" terminology with "opaque" (#15240) 2024-09-23 18:04:57 +00:00