Uh oh!
There was an error while loading. Please reload this page.
Fix miri error in into_inner() of CString - #62610
Conversation
rust-highfive
commented
Jul 12, 2019
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @RalfJung (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. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Stargateur
commented
Jul 12, 2019
I would like to add a test but I don't know how. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks a lot! I prefer the
You mean a test that this does not error in Miri any more? For that, please make a PR at https://github.com/rust-lang/miri/. |
RalfJung
commented
Jul 14, 2019
This looks great! When you force-push and want a new review, please leave a note saying so; GitHub unfortunately does not send email notifications for force-pushes. @bors r+ Do you want to try to add a Miri test case as well? Do you need mentoring for that? |
bors
commented
Jul 14, 2019
📌 Commit 4c4bd34 has been approved by |
bors
commented
Jul 14, 2019
bors
commented
Jul 14, 2019
☀️ Test successful - checks-azure, checks-travis, status-appveyor |
Fix#62553
I choice to not transmute because I think it's more unsafe and in case the structure change this code should always work.
r? @RalfJung