Skip to content

Commit bc124fc

Browse files
authored
build: Bump MSRV to 1.91 (#2996)
1 parent 2239dd9 commit bc124fc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ build = "build.rs"
33
name = "sentry-cli"
44
version = "2.58.2"
55
edition = "2021"
6-
rust-version = "1.86"
6+
rust-version = "1.91"
77

88
[workspace]
99

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.87.0-alpine3.20@sha256:126df0f2a57e675f9306fe180b833982ffb996e90a92a793bb75253cfeed5475 AS sentry-build
1+
FROM rust:1.91.1-alpine3.20@sha256:79a1bf22657dda835c5e2cf08e3aba4099ed36af3f28167103feb688a3e2604b AS sentry-build
22

33
# Install build dependencies
44
RUN apk add musl-dev perl openssl-dev make

src/commands/dart_symbol_map/upload.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub(super) fn execute(args: DartSymbolMapUploadArgs) -> Result<()> {
9090
serde_json::from_slice(mapping_file_bytes.as_ref())
9191
.context("Invalid dartsymbolmap: expected a JSON array of strings")?;
9292

93-
if mapping_entries.len() % 2 != 0 {
93+
if !mapping_entries.len().is_multiple_of(2) {
9494
bail!(
9595
"Invalid dartsymbolmap: expected an even number of entries, got {}",
9696
mapping_entries.len()

0 commit comments

Comments
 (0)