Skip to content

Commit

Permalink
Pin to cargo deny 0.16.1 to avoid MSRV issue (#8158)
Browse files Browse the repository at this point in the history
Causes our ci to fail because we're on an older Rust version than what
is required by 0.16.2

I'm pretty sure this happened unintentionally, see:
* EmbarkStudios/cargo-deny#720
  • Loading branch information
Wumpf authored Nov 15, 2024
1 parent ef16715 commit ae026d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/ci/rust_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ def cargo_deny(timings: list[Timing]) -> None:
# Note: running just `cargo deny check` without a `--target` can result in
# false positives due to https://github.com/EmbarkStudios/cargo-deny/issues/324
# Installing is quite quick if it's already installed.
timings.append(run_cargo("install", "--locked cargo-deny"))
#
# `cargo-deny` 0.16.2 raises MSRV 1.81.0, we're not there yet.
timings.append(run_cargo("install", "--locked [email protected]"))
timings.append(run_cargo("deny", "--all-features --log-level error --target aarch64-apple-darwin check"))
timings.append(run_cargo("deny", "--all-features --log-level error --target i686-pc-windows-gnu check"))
timings.append(run_cargo("deny", "--all-features --log-level error --target i686-pc-windows-msvc check"))
Expand Down

0 comments on commit ae026d1

Please sign in to comment.