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 PR matklad#185 to 1.13.0 #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jul 2, 2022

  1. Keep provenance intact by avoiding ptr-int-ptr

    once_cell is an extremely widely-used crate, so it would be very nice if
    it conformed to the stricted/simplest/checkable model we have for
    aliasing in Rust. To do this, we need to avoid creating a pointer from
    an integer by cast or transmute. Pointers created this way can be valid,
    but are a nightmare for a checker like Miri. The situation is generally
    explained by these docs: https://doc.rust-lang.org/nightly/std/ptr/fn.from_exposed_addr.html
    
    This implementation is mostly gross because all the APIs that would make
    this ergonomic are behind #![feature(strict_provenance)]
    saethlin committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    285809f View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Configuration menu
    Copy the full SHA
    4aa5ac4 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. Merge remote-tracking branch 'origin/master' into eliza/saethlin/prov…

    …enance
    
    This branch merges upstream's `master` branch into PR matklad#185.
    
    I need to patch a dependency on `once_cell` that needs at least 1.13.0
    to pick up the provenance fix, but you may want to actually merge this
    into the PR as well.
    hawkw committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    ee55dd2 View commit details
    Browse the repository at this point in the history