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

RFC: Use stable Rust #512

Closed
wants to merge 2 commits into from
Closed

RFC: Use stable Rust #512

wants to merge 2 commits into from

Commits on Aug 22, 2023

  1. Update the Rust toolchain to nightly-2023-08-22.

    The semantics of int-to-pointer casts under strict provenance has changed. Ideally, we would update our `From<usize> for Register` implementation to use the `sptr` crate, but `sptr` does not currently have a suitable license. There is a [PR](Gankra/sptr#14) to change that, but it hasn't gotten a response in 7 months, so I don't think we can use it. Instead, this copies the implementation of `core::ptr::invalid`.
    
    This also bumps our `thiserror` dependency, which forces Cargo to pick a newer version of `proc-macro2` that is compatible with recently nightly toolchains.
    jrvanwhy committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    20a1b8b View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. use stable rust by default

    Only use nightly for miri.
    bradjc committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    dfde4c4 View commit details
    Browse the repository at this point in the history