-
Notifications
You must be signed in to change notification settings - Fork 73
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
Mark simd_shuffle
intrinsics as rustc_args_required_const
#278
Conversation
This change was made in `stdarch` but not `packed_simd`. See rust-lang/rust#69280 for background.
…nkov Revert #69280 Resolves #69313 by reverting #69280. After #69280, `#[rustc_args_required_const(2)]` is required on the declaration of `simd_shuffle` intrinsics. This is allowed breakage, since you can't define platform intrinsics on stable. However, the latest release of the widely used `packed_simd` crate defines these intrinsics without the requisite attribute. Since there's no urgency to merge #69280, let's revert it. We can reconsider when rust-lang/packed_simd#278 is included in a point release of `packed_simd`. r? @petrochenkov
I've tried running
I guess adding |
I've checked it out locally and all tests passed. @gnzlbg is it ok to merge? |
ping @gnzlbg |
@ecstatic-morse, why was this closed without merging? |
Just due to inactivity. I'm not sure how to move it forward. |
It seems @workingjubilee might be maintaining this repo now? This is still relevant. |
The crate is being moved into long-term maintenance mode. Unless this is critical to keeping the crate building, we are unlikely to handle any particular issue. New work by the Portable SIMD Project Group (not yet announced) is going into a fresh crate so that we can examine each part as it goes into the crate. |
It's critical to keeping this crate building. |
(oops, this is already a pr, not an issue. my bad, we'll probably review and accept it) |
Hello! Fixing this is tentatively on the docket, but what does the numeric parameter to the attribute mean? |
It's the arg index within the argument list. |
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.
Oh! Then this is obviously correct.
hey there, this is a friendly note to everyone that corresponding rust bug/pullrequest: rust-lang/rust#85110 |
I'm in the process of cherry-picking the relevant |
This change was made in
stdarch
but notpacked_simd
. See rust-lang/rust#69280 for background.