bevy/crates
François 0a8576b710 support assets of any size (#1997)
Fixes #1892 

The following code is a cut down version of the issue, and crashes the same way:
```rust
enum AssetLifecycleEvent <T> {
    Create(T),
    Free
}

fn main() {
    let (sender, _receiver) = crossbeam_channel::unbounded();
    sender.send(AssetLifecycleEvent::<[u32; 32000]>::Free).unwrap();
}
```

- We're creating a channel that need to be able to hold `AssetLifecycleEvent::Create(T)` which has the size of our type `T`
- The two variants of the enums have a very different size

By keeping `T` boxed while sending through the channel, it doesn't crash
2021-04-24 18:14:04 +00:00
..
bevy_app Cargo fmt with unstable features (#1903) 2021-04-21 23:19:34 +00:00
bevy_asset support assets of any size (#1997) 2021-04-24 18:14:04 +00:00
bevy_audio Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_core [bevy_core/bytes] Fix UB with accessing memory with incorrect alignment (#1966) 2021-04-20 21:04:08 +00:00
bevy_derive EnumVariantMeta derive (#1972) 2021-04-21 23:46:54 +00:00
bevy_diagnostic Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_dylib Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_dynamic_plugin Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_ecs Updated docs for ShouldRun (#1987) 2021-04-23 18:38:18 +00:00
bevy_gilrs Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_gltf calculate flat normals for mesh if missing (#1808) 2021-04-15 21:06:49 +00:00
bevy_input Cargo fmt with unstable features (#1903) 2021-04-21 23:19:34 +00:00
bevy_internal add documentation on LogPlugin and more log usage (#1973) 2021-04-22 23:30:48 +00:00
bevy_log add documentation on LogPlugin and more log usage (#1973) 2021-04-22 23:30:48 +00:00
bevy_math Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_pbr Spherical Area Lights (#1901) 2021-04-22 18:49:02 +00:00
bevy_reflect Cargo fmt with unstable features (#1903) 2021-04-21 23:19:34 +00:00
bevy_render EnumVariantMeta derive (#1972) 2021-04-21 23:46:54 +00:00
bevy_scene Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_sprite Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_tasks Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_text Cargo fmt with unstable features (#1903) 2021-04-21 23:19:34 +00:00
bevy_transform Add synonyms for transform relative vectors (#1667) 2021-04-12 21:53:05 +00:00
bevy_ui Label for ui_focus_system (#1926) 2021-04-19 19:15:27 +00:00
bevy_utils EnumVariantMeta derive (#1972) 2021-04-21 23:46:54 +00:00
bevy_wgpu Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_window Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_winit Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00