mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
3a1b9b98e4
# Objective Partially address #888. Gilrs is initialized on a separate thread, and thus conditionally implements `Send`, and all platforms other than Wasm. This means the `NonSend` resource constraint is likely too conservative. ## Solution Relax the requirement, and conditionally derive Resource on a wrapper around it, using `SyncCell` to satisfy the `Sync` requirement on it. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |