-
Notifications
You must be signed in to change notification settings - Fork 349
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
Normalize column numbers #1626
Normalize column numbers #1626
Conversation
Edit: for some reason it works now. I've confirmed that it fixes the bug. |
8d2feb7
to
938cb33
Compare
763f52c
to
007ab53
Compare
Thanks for helping with Miri!
Note that it's fine to land a PR that breaks Miri, and then fix Miri separately. So I don't think we need to support both the case with and without column numbers at the same time. I'd prefer to instead adjust normalization to expect column numbers to be present. Also column numbers in |
@RalfJung note that it did break the build of the rollup instead of just going through with it and then setting toolstate: rust-lang/rust#79002 (comment) . Not sure what's broken, but maybe the issue is that tests broke instead of just the compile? So this PR is needed I think. Also note that on Windows, column numbers are being omitted in debuginfo and thus also won't show up in the backtrace (see rust-lang/rust#42921). Thus I think the test may not require column numbers to be present. |
It broke just the PR CI of the rollup, not the bors build, right? I am pretty sure it would have worked fine in bors. Miri is allowed to break, and something is seriously wrong if that does not work.
Miri uses its own way to obtain debug info. I would be very surprised if what you said is true in Miri. |
@RalfJung alright then I'll change the PR to assume column numbers, and change rust-lang/rust#79002 to remove the miri submodule update. |
007ab53
to
6646de3
Compare
6646de3
to
5de4560
Compare
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.
Thanks! I'll merge this once rust-lang/rust#79002 lands. (rust-version
will need updating then but I can do that.)
Two things broke at once, so I had to fix them together in #1630. I made your PR part of that. Thanks for helping fixing Miri! |
Needed by rust-lang/rust#79002