https://github.com/SiegeEngine/siege-render/blob/cb56a000aec481d712fd23e56a06dfc9d7af856d/src/vertex.rs#L8 All uses of `offset_of` invoke UB. There's no fix until [RFC 2582](https://github.com/rust-lang/rfcs/blob/master/text/2582-raw-reference-mir-operator.md) is implemented. From the RFC: > references must be aligned and dereferencable, even when they are created and never used.
siege-render/src/vertex.rs
Line 8 in cb56a00
All uses of
offset_ofinvoke UB. There's no fix until RFC 2582 is implemented. From the RFC: