-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
make asm diagnostic instruction optional #59242
Conversation
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
r? @nagisa |
@bors r+ |
📌 Commit 8d64f9c52257f328e2c5986f55a2f86157886dac has been approved by |
@bors r- This PR caused failure in #59397 (comment). Please restrict the new test on x86 and x86_64 only. |
`DiagnosticInfoInlineAsm::getInstruction` may return a null pointer, so the instruction shouldn't be blindly unwrapped.
Added an |
@bors r=nagisa |
📌 Commit 4728433 has been approved by |
☀️ Test successful - checks-travis, status-appveyor |
DiagnosticInfoInlineAsm::getInstruction
may return a null pointer, sothe instruction shouldn't be blindly unwrapped.
Reopening from #55193. I was unable to trigger the assertion on Windows after rebasing.
Fixes #23458.
Fixes #55216.