Upgrade Rust toolchain to 1.80.0

This also tweaks the workspace-level lints configuration to add priority
on groups
This commit is contained in:
Quentin Gliech
2024-07-29 10:43:41 +02:00
parent 9f66cb783f
commit 9d13a06f64
3 changed files with 6 additions and 5 deletions

View File

@@ -195,8 +195,8 @@ jobs:
- name: Install toolchain
run: |
rustup toolchain install 1.78.0
rustup default 1.78.0
rustup toolchain install 1.80.0
rustup default 1.80.0
rustup component add clippy
- name: Setup OPA

View File

@@ -16,8 +16,9 @@ package.repository = "https://github.com/matrix-org/matrix-authentication-servic
unsafe_code = "forbid"
[workspace.lints.clippy]
all = "deny"
pedantic = "warn"
# We use groups as good defaults, but with a lower priority so that we can override them
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
str_to_string = "deny"

View File

@@ -8,7 +8,7 @@
# The Debian version and version name must be in sync
ARG DEBIAN_VERSION=12
ARG DEBIAN_VERSION_NAME=bookworm
ARG RUSTC_VERSION=1.78.0
ARG RUSTC_VERSION=1.80.0
# XXX: Upgrade to 0.10.0 blocked by https://github.com/ziglang/zig/issues/10915#issuecomment-1354548110
# XXX: Upgrade to 0.11.0 blocked by https://github.com/rust-cross/cargo-zigbuild/issues/162
ARG ZIG_VERSION=0.9.1