Skip to content

Commit f869e16

Browse files
committed
Bump minimum rustc to 1.60, required by clap 4
1 parent 0f52a93 commit f869e16

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/rav1e.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
matrix:
4040
conf:
4141
- beta-build
42-
- 1.59.0-tests
42+
- 1.60.0-tests
4343
- aom-tests
4444
- dav1d-tests
4545
- no-asm-tests
@@ -54,8 +54,8 @@ jobs:
5454
include:
5555
- conf: beta-build
5656
toolchain: beta
57-
- conf: 1.59.0-tests
58-
toolchain: 1.59.0
57+
- conf: 1.60.0-tests
58+
toolchain: 1.60.0
5959
- conf: aom-tests
6060
toolchain: stable
6161
- conf: dav1d-tests
@@ -157,8 +157,8 @@ jobs:
157157
- name: Start sccache server
158158
run: |
159159
sccache --start-server
160-
- name: Run 1.59.0 tests
161-
if: matrix.toolchain == '1.59.0' && matrix.conf == '1.59.0-tests'
160+
- name: Run 1.60.0 tests
161+
if: matrix.toolchain == '1.60.0' && matrix.conf == '1.60.0-tests'
162162
run: |
163163
cargo test --workspace --verbose \
164164
--features=decode_test,decode_test_dav1d,quick_test,capi

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "rav1e"
33
version = "0.6.0"
44
authors = ["Thomas Daede <[email protected]>"]
55
edition = "2021"
6-
rust-version = "1.59.0"
6+
rust-version = "1.60.0"
77
build = "build.rs"
88
include = [
99
"/Cargo.toml",

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ For the foreseeable future, a weekly pre-release of rav1e will be [published](ht
4949

5050
### Toolchain: Rust
5151

52-
rav1e currently requires Rust 1.59.0 or later to build.
52+
rav1e currently requires Rust 1.60.0 or later to build.
5353

5454
### Dependency: NASM
5555
Some `x86_64`-specific optimizations require [NASM](https://nasm.us/) `2.14.02` or newer and are enabled by default.

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ fn build_asm_files() {
223223
fn rustc_version_check() {
224224
// This should match the version in the CI
225225
// Make sure to updated README.md when this changes.
226-
const REQUIRED_VERSION: &str = "1.59.0";
226+
const REQUIRED_VERSION: &str = "1.60.0";
227227
if version().unwrap() < Version::parse(REQUIRED_VERSION).unwrap() {
228228
eprintln!("rav1e requires rustc >= {}.", REQUIRED_VERSION);
229229
exit(1);

clippy.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
too-many-arguments-threshold = 16
22
cognitive-complexity-threshold = 40
3-
trivial-copy-size-limit = 16 # 128-bits = 2 64-bit registers
4-
msrv = "1.59"
3+
trivial-copy-size-limit = 16 # 128-bits = 2 64-bit registers
4+
msrv = "1.60"

0 commit comments

Comments
 (0)