-
Notifications
You must be signed in to change notification settings - Fork 242
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
[WIP] Remove #![feature(label_break_value)] (fix #731) #872
Conversation
unit test fail in
after upgrading rust-toolchain:
checking
|
7376167
to
37a641a
Compare
Thanks for working on this! There's two separate things going on here, rolling the toolchain forward and removing the then unnecessary feature. The commit message/title should at least reflect this, as rolling the toolchain version is more important than the feature removal. The feature removal is small enough of a change that I think it's ok to combine with the toolchain bump. This looks mostly fine once expected test output is updated. However the cast changes of Misc to PtrToPtr are a bit unexpected. I assume the compiler removed Misc, but that cast was for pointer to usize casts, which doesn't seem like a PtrToPtr cast. @spernsteiner @aneksteind is bumping the toolchain forward ok with what you're in the middle of right now? |
Fine with me, as long as everything builds and tests still pass.
They've broken up |
Hi @bungcip, thanks for working on this! I wanted to let you know, though, that we've already previously worked on updating the toolchain to a more recent version in #811, but have since closed that PR as updating the toolchain wasn't a priority for us yet (in the long term, it is helpful, though). I just wanted to let you know so you don't accidentally redo work already done, and so you can look at that PR for help in updating the toolchain (it contains some other necessary fixes, including a bug fix, along with reasoning). The Specifically for |
hi @kkysen, thanks for the review. maybe I will close the PR. I actually want to working on issue #621 or #769 for improving c2rust output . To familiarize myself with c2rust code, I am trying to fix #731 because its simple enough, unfortunately to fix the issue, rust-toolchain must be updated and going to fixing rustc_private changes rabid hole is too soul crushing for me 😅 |
remove
#![feature(label_break_value)]
from generated rust source file.rust-toolchain is updated to
nightly-2022-10-25