]> git.lizzy.rs Git - rust.git/commit
Auto merge of #106033 - ChrisDenton:bump-cfg-if, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Fri, 23 Dec 2022 10:46:58 +0000 (10:46 +0000)
committerbors <bors@rust-lang.org>
Fri, 23 Dec 2022 10:46:58 +0000 (10:46 +0000)
commit14e2fe4039f0b42c1ac519671e27943560530458
treee769669164e4c7ad71e486b9fa357b3de4c255e1
parent5e656baf8bc832d3b77a1e49373352b3b2685fc0
parent531f3c9ee584c7b7a5ed6e35383c10858bcbb049
Auto merge of #106033 - ChrisDenton:bump-cfg-if, r=Mark-Simulacrum

Remove old version of `cfg-if` by bumping `packed_simd_2` and `getrandom v0.2` versions

```console
> cargo update --package packed_simd_2 --package getrandom@0.2.0
    Updating crates.io index
    Removing cfg-if v0.1.10
    Updating getrandom v0.2.0 -> v0.2.8
    Updating packed_simd_2 v0.3.4 -> v0.3.8
```

`packed_simd_2` is only used as a dependency of `bytecount` which in turn is only used by `rustfmt`. I can't see any issue with the minor version bump.

The bigger jump is `getrandom@0.2.0` which is used by a number of things, but 0.2.8 is still semver compatible and there doesn't seem to be any worrying changes (see the [changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)). The only breaking change are the removal of XP, stdweb and CloudAbi support but these are not host targets and rustc lacks support for them in any case (stdweb development was [abandonded](https://rustsec.org/advisories/RUSTSEC-2020-0056.html), XP is [tier 3 and `no_std`](https://doc.rust-lang.org/beta/rustc/platform-support.html#tier-3) and CloubAbi is [no longer supported](https://github.com/rust-lang/rust/pull/78439)).

Note that this doesn't affect `getrandom@0.1.16` which is what std depends on and which is already using the latest version of `cfg-if` (besides, there are already plans to remove that entirely).
Cargo.lock