-
Notifications
You must be signed in to change notification settings - Fork 87
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
Don't use direct field access in Simd
functions
#339
Conversation
095acb3
to
ccedb39
Compare
ccedb39
to
afad9c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please document why we have to do it this way, so no one tries to be "helpful" and open a PR "fixing" this.
Where do you think would be the best place to put such a disclaimer? Should I just put it on the |
Let's do this belt-and-suspenders style, yeah. Double up. It can be terse but it should be in both places. |
b50f1a4
to
52833cc
Compare
I expanded the comment a bit to also include that you can't directly construct the type either, as I don't think it's obvious that that counts as a field access (and also had a typo in the previous commit message). |
I think you can remove the transmute feature now |
b5dd30e
to
f1b86ba
Compare
This is the second time in a row now that the |
Sounds like this could already be the fix to what I just reported in rust-lang/rust#110722 |
See https://rust-lang.zulipchat.com/#narrow/stream/257879-project-portable-simd/topic/splat.20no.20longer.20compiles.20for.20release.20builds/near/351949106