2 ms·
I was actually using mut/const and got this bug, I don't think I used &T since I was handling raw memory addresses.
by zaarn 9y ago
I was actually using mut/const and got this bug, I don't think I used &T since I was handling raw memory addresses.
- steveklabnik 9y agoHm, then I don't know what happened, as I just checked and it's definitely not doing the optimization, as it shouldn't! If you can reproduce you should file a bug.
- zaarn 9y agoIt might help to know that I was writing an UEFI application, so basically kernel mode. Otherwise, I've redesigned the affected subsystem so I'm not sure I could reproduce the behaviour