-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Migrated] core::mem::swap
used to work, then broke (and later accidentally got unbroken again).
#117
Comments
Comment from eddyb (CONTRIBUTOR) on 2021-11-22T14:33:16Z 👍: 1 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. |
Comment from oisyn (CONTRIBUTOR) on 2023-03-29T13:32:12Z Closing as won't fix, it's very unlikely we will address this in the forseeable future. |
Comment from eddyb (CONTRIBUTOR) on 2023-10-01T17:15:11Z 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 |
Issue automatically imported from old repo: EmbarkStudios/rust-gpu#804
Old labels: t: bug,a: rust-lang,t: external,s: qptr may fix
Originally creatd by hatoo on 2021-11-21T13:05:53Z
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: