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
Looks like the size of proc_macro2::Group is 4 bytes smaller on i686 than on other architectures.
Possibly this affects all 32-bit architectures, but i686 is the only one that we still partially support in Fedora Linux.
As far as I can tell, the size difference is harmless (probably you just added it to make sure the size doesn't accidentally grow?), so I have ignored this test in our builds for now, but I still wanted to file an issue in case you want to add an additional not(target_pointer_width = "64") clause to the test's #[ignore] cases.
The text was updated successfully, but these errors were encountered:
You inferred correctly, we don't need the types to be a particular size, I just need to be cognizant of when they change size because it impacts syn's performance. And for that purpose, I personally only care about 64-bit.
Thanks for reporting the issue. I have added #[cfg_attr(not(target_pointer_width = "64"), ignore)] in proc-macro2 1.0.85.
I noticed that the proc-macro2 crate's test suite started to fail on Fedora Linux - from the build logs:
The output points to this assertion:
https://github.com/dtolnay/proc-macro2/blob/1.0.84/tests/test_size.rs#L52
Looks like the size of
proc_macro2::Group
is 4 bytes smaller on i686 than on other architectures.Possibly this affects all 32-bit architectures, but i686 is the only one that we still partially support in Fedora Linux.
As far as I can tell, the size difference is harmless (probably you just added it to make sure the size doesn't accidentally grow?), so I have ignored this test in our builds for now, but I still wanted to file an issue in case you want to add an additional
not(target_pointer_width = "64")
clause to the test's#[ignore]
cases.The text was updated successfully, but these errors were encountered: