Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-random/getrandom
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.6
Choose a base ref
...
head repository: rust-random/getrandom
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.7
Choose a head ref
  • 5 commits
  • 13 files changed
  • 4 contributors

Commits on Apr 3, 2022

  1. Add notes when various functions were added (#257)

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored Apr 3, 2022
    Configuration menu
    Copy the full SHA
    4882ac8 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. Update to wasi 0.11 (#253)

    * Update to wasi 0.11
    
    The main breaking change between v0.10 and v0.11 is that Error is
    removed in favour of Errno. Unfortunately we can't create an Errno from
    outside the wasi create so we're loosing some debug information for
    errors.
    
    I've opened an issue to add back such a constructor, see
    <bytecodealliance/wasi-rs#64>.
    
    * Use libc::strerror to get the error message on wasi
    
    Since wasi v0.11 doesn't (yet) provided a way to create Errno, see
    <bytecodealliance/wasi-rs#64>.
    
    * Remove libc dependency for WASI
    
    This does mean that we won't get an error message for the error type.
    Thomasdezeeuw authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    2d65a40 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. bsd_arandom: fix typo in comment (#260)

    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser authored Apr 22, 2022
    Configuration menu
    Copy the full SHA
    9e2c896 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Use AtomicPtr instead of AtomicUsize for Weak (#263)

    This allows Strict Provenance to work properly, fixing #262. It also
    now matches what `libstd` does:
    https://github.com/rust-lang/rust/blob/9f7e997c8bc3cacd2ab4eb75e63cb5fa9279c7b0/library/std/src/sys/unix/weak.rs#L85-L141
    
    Also, while reading the `libstd` code, I noticed that they use an
    `Acquire` fence and `Release` store as the returned pointer should
    have "consume" semantics. As this doesn't yet exist in Rust, we
    instead do exactly what `libstd` does, which means:
      - Relaxed Load
      - Release Store
      - Acquire fence when returning pointer
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    
    Co-authored-by: Joe ST <joe@fbstj.net>
    josephlr and fbstj authored Jun 13, 2022
    Configuration menu
    Copy the full SHA
    c82a522 View commit details
    Browse the repository at this point in the history
  2. Release v0.2.7 (#264)

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored Jun 13, 2022
    Configuration menu
    Copy the full SHA
    63f861c View commit details
    Browse the repository at this point in the history
Loading