Skip to content
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

Update to latest rustc #27

Merged
merged 9 commits into from
Mar 1, 2021
Merged

Update to latest rustc #27

merged 9 commits into from
Mar 1, 2021

Conversation

DJMcNab
Copy link
Contributor

@DJMcNab DJMcNab commented Feb 27, 2021

This had a few complications so there are a handful of workarounds:

  • For some reason, the get macro from rocket was panicking (at called unwrap on Option::None with no further details)
  • However, manually expanding out the macros fixed this, so I did that and removed them
  • The Frame::loc field has been made private, although it looks like an accessor will be added
  • rust-analyzer thought extern crate miri meant to use the one which was in rustcSource, even though that is not correct.

Whilst I'm here, I'm also going to handle the problems that we have from not following rust_2018_idioms

Thanks to @bjorn3 for answering my queries :)

This is a very cool project, and I hope it can become more useful. 'Perfect' debugging for rust programs is very compelling, with easy back in time debugging.

Cargo.toml Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/step.rs Outdated Show resolved Hide resolved
src/step.rs Outdated Show resolved Hide resolved
src/step.rs Outdated Show resolved Hide resolved
src/step.rs Outdated Show resolved Hide resolved
src/watch/mod.rs Outdated Show resolved Hide resolved
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Feb 27, 2021
Depends on a future nightly version 👻
Cargo.toml Outdated Show resolved Hide resolved
@DJMcNab
Copy link
Contributor Author

DJMcNab commented Mar 1, 2021

Hopefully a nightly has landed which this PR is compatible with 🎉

I'll check when I'm at a desktop computer.

@bjorn3
Copy link
Collaborator

bjorn3 commented Mar 1, 2021

My PR missed the deadline for the latest nightly by one merge.

@DJMcNab
Copy link
Contributor Author

DJMcNab commented Mar 1, 2021

It should work now - we've been bitten by rustc --version often being a day behind the rustup toolchain. That is, the code runs fine on nightly-2020-03-01

@bjorn3
Copy link
Collaborator

bjorn3 commented Mar 1, 2021

Thanks for the effort!

@bjorn3 bjorn3 marked this pull request as ready for review March 1, 2021 08:50
@bjorn3 bjorn3 merged commit 84d2ac0 into oli-obk:main Mar 1, 2021
@DJMcNab DJMcNab deleted the uprust branch March 1, 2021 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants