bevy/crates/bevy_render
robtfm 8f81be9845 remove potential ub in render_resource_wrapper (#7279)
# 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
2023-02-06 17:14:00 +00:00
..
macros Extract component derive (#7399) 2023-01-30 18:12:16 +00:00
src remove potential ub in render_resource_wrapper (#7279) 2023-02-06 17:14:00 +00:00
Cargo.toml Wgpu 0.15 (#7356) 2023-01-29 20:27:30 +00:00