-
Notifications
You must be signed in to change notification settings - Fork 12.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
[MIR Borrowck] Moveck inline asm statements #46975
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @estebank (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
r? @arielb1 |
src/test/run-pass/asm-in-moved.rs
Outdated
// option. This file may not be copied, modified, or distributed | ||
// except according to those terms. | ||
|
||
// ignore-s390x |
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.
Most tests use this instead:
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
see e.g. the asm-out-assign test
r=me with tests fixed to use
|
f4d757e
to
1a308ba
Compare
Done. The compile-fail test still uses |
@bors r+ |
📌 Commit 1a308ba has been approved by |
⌛ Testing commit 1a308ba with merge 70836ed585280838f37f6da818f73c83f1576327... |
💔 Test failed - status-travis |
@bors retry |
⌛ Testing commit 1a308ba with merge 1f4a500b62c71bd87c5571a8ce3b76b91657f23e... |
💔 Test failed - status-travis |
⌛ Testing commit 1a308ba with merge d1bfe337f9ceced97d45f71f2f37efbe7b2c7b8a... |
💔 Test failed - status-travis |
@bors retry |
☀️ Test successful - status-appveyor, status-travis |
Closes #45695
New behavior:
asm!
are moved, direct output operands are initialized.