Stream: general

Topic: Existing UB in safe code


Nicole Mazzuca (Sep 12 2018 at 06:10, on Zulip):

https://github.com/rust-lang/rust/issues/54148

What's the best way to go about fixing this?

avadacatavra (Sep 12 2018 at 14:03, on Zulip):

I've commented this in the #[repr(packed)] discussion

RalfJ (Sep 17 2018 at 17:36, on Zulip):

(as also mentioned in the issue) This is not actually UB, it's just a lack of documentation for how the compiler avoids UB.

Last update: Nov 20 2019 at 11:30UTC