Skip to content

Commit 4c7034e

Browse files
d-e-s-oinsearchoflosttime
authored andcommitted
Decrease minimum supported Rust version to 1.58
Now that we build with the actual minimum versions of dependencies, we can downgrade our minimum supported Rust version back to 1.58, as it contains all the features that we need. Signed-off-by: Daniel Müller <deso@posteo.net>
1 parent 812c62b commit 4c7034e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
profile: minimal
7474
# Please adjust README and rust-version field in Cargo.toml files when
7575
# bumping version.
76-
toolchain: 1.59.0
76+
toolchain: 1.58.0
7777
components: rustfmt
7878
default: true
7979
- name: Build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
![CI](https://github.com/libbpf/libbpf-rs/workflows/Rust/badge.svg?branch=master)
2-
[![rustc](https://img.shields.io/badge/rustc-1.59+-blue.svg)](https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html)
2+
[![rustc](https://img.shields.io/badge/rustc-1.58+-blue.svg)](https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html)
33

44
WARNING: The API is not stable and is subject to breakage. Any breakage will
55
include a minor version bump pre-1.0 and a major version bump post-1.0.

libbpf-cargo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ readme = "../README.md"
88
version = "0.13.1"
99
authors = ["Daniel Xu <dxu@dxuuu.xyz>"]
1010
edition = "2021"
11-
rust-version = "1.59"
11+
rust-version = "1.58"
1212
license = "LGPL-2.1 OR BSD-2-Clause"
1313
keywords = ["bpf", "ebpf", "libbpf"]
1414

libbpf-rs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ readme = "../README.md"
77
version = "0.19.1"
88
authors = ["Daniel Xu <dxu@dxuuu.xyz>"]
99
edition = "2021"
10-
rust-version = "1.59"
10+
rust-version = "1.58"
1111
license = "LGPL-2.1 OR BSD-2-Clause"
1212
keywords = ["bpf", "ebpf", "libbpf"]
1313

0 commit comments

Comments
 (0)