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/rand
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.8.5
Choose a base ref
...
head repository: rust-random/rand
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.8.6
Choose a head ref
  • 18 commits
  • 48 files changed
  • 2 contributors

Commits on Apr 15, 2026

  1. Deprecate feature log

    dhardy authored and nwalfield committed Apr 15, 2026
    Configuration menu
    Copy the full SHA
    34db0ae View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2026

  1. Prepare v0.8.6

    dhardy authored and nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    ccc71e9 View commit details
    Browse the repository at this point in the history
  2. Remove CI job gh-pages

    dhardy authored and nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    32fc9d0 View commit details
    Browse the repository at this point in the history
  3. Copy release.yml from master

    dhardy authored and nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    5e8b369 View commit details
    Browse the repository at this point in the history
  4. Replace doc_cfg with docsrs.

    Fix the following error:
    
    ```
    warning: unexpected `cfg` condition name: `doc_cfg`
      --> rand_core/src/lib.rs:38:13
       |
    38 | #![cfg_attr(doc_cfg, feature(doc_cfg))]
       |             ^^^^^^^
    ```
    
    `doc_cfg` was used just to conditionally include the `doc_cfg` feature
    in docs.rs builds.  That has since been standardized and changed to
    `docsrs`.
    
    Replace `doc_cfg` with `docsrs`.
    
    See https://docs.rs/about/builds#detecting-docsrs .
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    4b0ef4e View commit details
    Browse the repository at this point in the history
  5. Fix invalid documentation.

    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    84899de View commit details
    Browse the repository at this point in the history
  6. Correctly check for features.

    Use `#[cfg(not(feature = "std"))]` to check for `std`, not
    `#[cfg(not(std))]`.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    8ae52a2 View commit details
    Browse the repository at this point in the history
  7. Fix the implementation of TrustedLen.

    Enable the `trusted_len` feature.
    
    Implementing `TrustLen` is now unsafe.  Fix the implementation.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    4df037d View commit details
    Browse the repository at this point in the history
  8. Workaround never constructed and never used warning.

    `rustc` complains that `error: struct MyRng is never constructed`.
    Construct it, and use it.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    6f123c1 View commit details
    Browse the repository at this point in the history
  9. Mark some internal traits as potentially unused.

    Implementations of `FloatAsSIMD` and `BoolAsSIMD` are only used if the
    `simd_support` feature is enabled.  Instead of making their definition
    and several users conditional on `simd_support`, just suppress the
    unused warning.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    9f0e676 View commit details
    Browse the repository at this point in the history
  10. Address warning.

    Modern versions of `rustc` warn about some elided lifetimes:
    
    ```
    warning: hiding a lifetime that's elided elsewhere is confusing
       --> src/seq/mod.rs:115:27
        |
    115 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> SliceChooseIter<Self, Self::Item>
        |                           ^^^^^ the lifetime is elided here     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
        |
        = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
        = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
    help: use `'_` for type paths
        |
    115 |     fn choose_multiple<R>(&self, rng: &mut R, amount: usize) -> SliceChooseIter<'_, Self, Self::Item>
        |                                                                                 +++
    ```
    
    Address the warnings.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    258e6d0 View commit details
    Browse the repository at this point in the history
  11. Don't test for unsupported target architecture.

    Modern `rustc` doesn't know about the `asmjs` target.  Drop it.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    4ad0cc3 View commit details
    Browse the repository at this point in the history
  12. Upgrade cache action.

    v1 of `actions/cache` has been deprecated.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    8ff02f0 View commit details
    Browse the repository at this point in the history
  13. Drop simd_support.

    `simd_support` is an experimental feature, which does not work any
    more.  Drop it.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    5e0d50d View commit details
    Browse the repository at this point in the history
  14. Fix cross build test.

    The cross build test checks that `Rand` can be cross built for mips.
    The Rust project no longer provides binaries for that target.  Switch
    to arm, as on the `master` branch.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    9be86f2 View commit details
    Browse the repository at this point in the history
  15. Add Cargo.lock.msrv.

    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    143b602 View commit details
    Browse the repository at this point in the history
  16. When testing rustc 1.36, use compatible dependencies.

    The latest versions of `ppv-lite86` and `libc` don't compile with
    `rustc` 1.36.  When testing with `rustc` 1.36, use the last compatible
    version of the dependencies.
    nwalfield committed Apr 16, 2026
    Configuration menu
    Copy the full SHA
    1126d03 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5309f25 View commit details
    Browse the repository at this point in the history
Loading