Skip to content

Commit

Permalink
Bump minimum supported Rust version to 1.69
Browse files Browse the repository at this point in the history
Bump the minimum supported Rust version to 1.69. Switching to this
version will allow us to use CStr::from_bytes_until_nul().

Signed-off-by: Daniel Müller <deso@posteo.net>
  • Loading branch information
d-e-s-o committed Oct 18, 2024
1 parent df3b5dd commit b8a004e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .clippy.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# For general information about this file, check
# https://doc.rust-lang.org/stable/clippy/configuration.html

msrv = "1.65"
msrv = "1.69"

absolute-paths-allowed-crates = [ "gimli" ]
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
with:
# Please adjust README, `rust-version` field in Cargo.toml,
# and `msrv` in .clippy.toml when bumping version.
toolchain: 1.65.0
toolchain: 1.69.0
- uses: Swatinem/rust-cache@v2
- run: cargo build --features="apk,backtrace,demangle,dwarf,gsym,tracing"
nop-rebuilds:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Unreleased
`std::ops::ControlFlow` to facilitate early termination
- Improved `kallsyms` parsing performance to speed up overall kernel
address symbolization
- Bumped minimum supported Rust version to `1.69`


0.2.0-rc.1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name = "blazesym"
description = "blazesym is a library for address symbolization and related tasks."
version = "0.2.0-rc.1"
edition = "2021"
rust-version = "1.65"
rust-version = "1.69"
authors = ["Daniel Müller <deso@posteo.net>", "Kui-Feng <thinker.li@gmail.com>"]
license = "BSD-3-Clause"
repository = "https://github.com/libbpf/blazesym"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![coverage](https://codecov.io/gh/libbpf/blazesym/branch/main/graph/badge.svg)](https://codecov.io/gh/libbpf/blazesym)
[![crates.io](https://img.shields.io/crates/v/blazesym.svg)](https://crates.io/crates/blazesym)
[![Docs](https://docs.rs/blazesym/badge.svg)](https://docs.rs/blazesym)
[![rustc](https://img.shields.io/badge/rustc-1.65+-blue.svg)](https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html)
[![rustc](https://img.shields.io/badge/rustc-1.69+-blue.svg)](https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html)

# blazesym

Expand Down
2 changes: 1 addition & 1 deletion capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "blazesym-c"
description = "C bindings for blazesym"
version = "0.1.0-rc.1"
edition = "2021"
rust-version = "1.65"
rust-version = "1.69"
authors = ["Daniel Müller <deso@posteo.net>"]
license = "BSD-3-Clause"
repository = "https://github.com/libbpf/blazesym"
Expand Down
2 changes: 1 addition & 1 deletion capi/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![pipeline](https://github.com/libbpf/blazesym/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/libbpf/blazesym/actions/workflows/test.yml)
[![crates.io](https://img.shields.io/crates/v/blazesym-c.svg)](https://crates.io/crates/blazesym-c)
[![rustc](https://img.shields.io/badge/rustc-1.65+-blue.svg)](https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html)
[![rustc](https://img.shields.io/badge/rustc-1.69+-blue.svg)](https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html)

blazesym-c
==========
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "blazecli"
description = "A command line utility for the blazesym library."
version = "0.1.6"
edition = "2021"
rust-version = "1.65"
rust-version = "1.69"
default-run = "blazecli"
license = "BSD-3-Clause"
repository = "https://github.com/libbpf/blazesym"
Expand Down
2 changes: 1 addition & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![pipeline](https://github.com/libbpf/blazesym/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/libbpf/blazesym/actions/workflows/test.yml)
[![crates.io](https://img.shields.io/crates/v/blazecli.svg)](https://crates.io/crates/blazecli)
[![rustc](https://img.shields.io/badge/rustc-1.65+-blue.svg)](https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html)
[![rustc](https://img.shields.io/badge/rustc-1.69+-blue.svg)](https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html)

blazecli
========
Expand Down

0 comments on commit b8a004e

Please sign in to comment.