Skip to content

Commit cc9d63d

Browse files
committed
Bump MSRV to 1.88
Bump the minimum support Rust version to 1.88, in order to allow us to bump the gimli dependency to 0.33. We require this version of gimli in order to properly implement ELF & DWARF relocation support. Signed-off-by: Daniel Müller <deso@posteo.net>
1 parent 2d75c42 commit cc9d63d

File tree

23 files changed

+34
-22
lines changed

23 files changed

+34
-22
lines changed

.clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# For general information about this file, check
22
# https://doc.rust-lang.org/stable/clippy/configuration.html
33

4-
msrv = "1.75"
4+
msrv = "1.88"
55

66
absolute-paths-allowed-crates = [ "gimli" ]

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
with:
150150
# Please adjust README, `rust-version` field in Cargo.toml,
151151
# and `msrv` in .clippy.toml when bumping version.
152-
toolchain: 1.75.0
152+
toolchain: 1.88.0
153153
- uses: Swatinem/rust-cache@v2
154154
- run: cargo build --features="apk,backtrace,bpf,demangle,dwarf,gsym,tracing"
155155
- run: cargo build --package=blazesym-c

.rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
blank_lines_upper_bound = 2
2+
edition = "2021"
23
imports_granularity = "item"
34
trailing_semicolon = false
45
wrap_comments = true

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Unreleased
2+
----------
3+
- Bumped minimum supported Rust version to `1.88`
4+
5+
16
0.2.3
27
-----
38
- Added support for `/usr/lib/debug/.build-id` debug link target

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ default-members = ["."]
1313

1414
[workspace.package]
1515
edition = "2021"
16-
rust-version = "1.75"
16+
rust-version = "1.88"
1717
license = "BSD-3-Clause"
1818
repository = "https://github.com/libbpf/blazesym"
1919
homepage = "https://github.com/libbpf/blazesym"
@@ -36,10 +36,11 @@ collapsible-if = "allow"
3636
fn-to-numeric-cast = "allow"
3737
let-and-return = "allow"
3838
let-unit-value = "allow"
39+
# TODO: Remove once we use Rust edition 2024.
40+
manual-c-str-literals = "allow"
3941
module-inception = "allow"
4042
type-complexity = "allow"
4143
absolute-paths = "warn"
42-
allow-attributes = "warn"
4344
clone-on-ref-ptr = "warn"
4445
dbg-macro = "warn"
4546
doc-markdown = "warn"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![coverage](https://codecov.io/gh/libbpf/blazesym/branch/main/graph/badge.svg)](https://codecov.io/gh/libbpf/blazesym)
33
[![crates.io](https://img.shields.io/crates/v/blazesym.svg)](https://crates.io/crates/blazesym)
44
[![Docs](https://docs.rs/blazesym/badge.svg)](https://docs.rs/blazesym)
5-
[![rustc](https://img.shields.io/badge/rustc-1.75+-blue.svg)](https://blog.rust-lang.org/2023/12/28/Rust-1.75.0/)
5+
[![rustc](https://img.shields.io/badge/rustc-1.88+-blue.svg)](https://blog.rust-lang.org/2025/06/26/Rust-1.88.0/)
66

77
# blazesym
88

capi/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Unreleased
2+
----------
3+
- Bumped minimum supported Rust version to `1.88`
4+
5+
16
0.1.7
27
-----
38
- Bumped maximum supported `blazesym` dependency to `0.2.3`

capi/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![pipeline](https://github.com/libbpf/blazesym/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/libbpf/blazesym/actions/workflows/test.yml)
22
[![crates.io](https://img.shields.io/crates/v/blazesym-c.svg)](https://crates.io/crates/blazesym-c)
3-
[![rustc](https://img.shields.io/badge/rustc-1.75+-blue.svg)](https://blog.rust-lang.org/2023/12/28/Rust-1.75.0/)
3+
[![rustc](https://img.shields.io/badge/rustc-1.88+-blue.svg)](https://blog.rust-lang.org/2025/06/26/Rust-1.88.0/)
44

55
blazesym-c
66
==========

capi/src/inspect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl Default for blaze_inspect_elf_src {
6969
}
7070
}
7171

72-
#[cfg_attr(not(test), allow(unused))]
72+
#[cfg_attr(not(test), expect(unused))]
7373
impl blaze_inspect_elf_src {
7474
fn from(other: Elf) -> ManuallyDrop<Self> {
7575
let Elf {

cli/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Unreleased
2+
----------
3+
- Bumped minimum supported Rust version to `1.88`
4+
5+
16
0.1.14
27
------
38
- Bumped `blazesym` dependency to `0.2.3`

0 commit comments

Comments
 (0)