You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is, as I understand, undefined behavior. It sort of works by accident in some/many cases. But with recent (>2021-03-04) rustc it does not work in the app I'm developing.
The macro implement_buffer_content! contains the following code:
This is, as I understand, undefined behavior. It sort of works by accident in some/many cases. But with recent (>2021-03-04) rustc it does not work in the app I'm developing.
I've tried to solicit help from reddit: https://www.reddit.com/r/rust/comments/om6xs6/help_needed_fixing_ub_in_glium_graphics_library/
I've also made a github repo with a minimal(ish) test case: https://github.com/avl/rust-llvm12-regression
I'm trying to come up with a PR to fix this. I'm very interested in if others have the same problem.
The problem is of course the cast from (0usize,0usize) to a reference to a DST.
The text was updated successfully, but these errors were encountered: