-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the GenericTest.Vector*Boolean #47070
Conversation
Bool need special marshalling attribute, the test was failing on arm64 apple where C++ was expecting them to be packed as 1 byte.
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
I think it was the lest test that was failing constantly in my local runs (with #46665 applied) |
I am not sure this is the right fix. As this requires all It seems like we should have a stable cross platform expectation |
This fix fixes a bug that was on all platforms that we just hadn’t noticed. The previous code was semantically wrong in all cases and just happened to work. |
Yep, my bad 😄. I always forget that |
Bool need special marshaling attribute, the test was failing on arm64 apple
where C++ was expecting them to be packed as 1 byte.
Thanks, @jkoritzinsky for helping with this.