bevy/crates
François Mockers 71a9142ded don't disable std in bevy_dylib (#18807)
# Objective

- `bevy_dylib` currently doesn't build independently
```
cargo build -p bevy_dylib
   Compiling bevy_dylib v0.16.0-rc.4 (/crates/bevy_dylib)
error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait

error: `#[panic_handler]` function required, but not found

error: unwinding panics are not supported without std
  |
  = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
  = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem

error: could not compile `bevy_dylib` (lib) due to 3 previous errors
```

## Solution

- remove `#![no_std]` from `bevy_dylib`

## Testing

- it builds now
2025-04-12 01:01:22 +02:00
..
bevy_a11y Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_animation Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_app Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_asset Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_audio Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_color Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_core_pipeline Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_derive Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_dev_tools Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_diagnostic Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_dylib don't disable std in bevy_dylib (#18807) 2025-04-12 01:01:22 +02:00
bevy_ecs Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_encase_derive Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_gilrs Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_gizmos Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_gltf Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_image Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_input Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_input_focus Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_internal Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_log Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_macro_utils Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_math Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_mesh Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_mikktspace Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_pbr Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_picking Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_platform_support Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_ptr Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_reflect Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_remote Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_render Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_scene Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_sprite Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_state Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_tasks Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_text Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_time Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_transform Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_ui Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_utils Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_window Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00
bevy_winit Release 0.16.0-rc.4 2025-04-11 09:12:55 +02:00