-
Notifications
You must be signed in to change notification settings - Fork 249
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
core::mem::swap
used to work, then broke (and later accidentally got unbroken again).
#804
Comments
come::mem::swap
that is scceeded previouslycore::mem::swap
that is scceeded previously
In #716 we updated to a version that supports I gave up on it because of how rare There's a more general fix at rust-lang/rust#86699 but it requires a bunch of unstable feature-gating stuff I haven't gone back to for. |
Closing as won't fix, it's very unlikely we will address this in the forseeable future. |
This actually works in Rust-GPU 0.4, and more specifically since
But at the same time, I wanted to propose to upstream that they can remove the
Oh, according to sourcegraph, it's definitely gotten used, oh well. So we might want to do nothing for now, and only remove the upstream hack if |
core::mem::swap
that is scceeded previouslycore::mem::swap
used to work, then broke (and later accidentally got unbroken again).
This issue is now being tracked at: Rust-GPU/rust-gpu#117 |
Expected Behaviour
Codes that uses
core::mem::swap
will compile. it's OK in previous version at least b9867d0.
Example & Steps To Reproduce
It's OK in the previous version. Please see https://github.com/hatoo/rust-gpu-issue/tree/swap-succ.
System Info
Backtrace
Backtrace
The text was updated successfully, but these errors were encountered: