mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
8f81be9845
# Objective [as noted](https://github.com/bevyengine/bevy/pull/5950#discussion_r1080762807) by james, transmuting arcs may be UB. we now store a `*const ()` pointer internally, and only rely on `ptr.cast::<()>().cast::<T>() == ptr`. as a happy side effect this removes the need for boxing the value, so todo: potentially use this for release mode as well |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |