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
If the assert is necessary for correctness then repr(C) should be used on the struct and its children to get deterministic layouts.
If it's just an optimization then it's probably better to just check it in tests/CI.
Found this while trying to build the rust compiler with randomized layouts. rust-lang/rust#101339
The text was updated successfully, but these errors were encountered:
rowan/src/green/node.rs
Lines 30 to 31 in 73ed5e7
breaks when compiling with layout randomization
If the assert is necessary for correctness then
repr(C)
should be used on the struct and its children to get deterministic layouts.If it's just an optimization then it's probably better to just check it in tests/CI.
Found this while trying to build the rust compiler with randomized layouts. rust-lang/rust#101339
The text was updated successfully, but these errors were encountered: