Skip to content

Commit

Permalink
Bump MSRV to 1.70 (#835)
Browse files Browse the repository at this point in the history
* Bump MSRV to 1.70

This is already the actual MSRV, but it was not updated in the Cargo
config files, so this change is needed to fix CI.

* Fix a random clippy lint
  • Loading branch information
shssoichiro authored May 7, 2024
1 parent e69826f commit 086f89d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion av1an-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "av1an-core"
version = "0.4.1"
rust-version = "1.63"
rust-version = "1.70"
edition = "2021"
authors = ["Zen <[email protected]>"]
description = """
Expand Down
5 changes: 1 addition & 4 deletions av1an-core/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,7 @@ pub unsafe fn parse_aom_vpx_frames_sse41(s: &[u8]) -> Option<u64> {
};

let ascending = _mm_set_epi8(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
let num_digits = match first_space_index.checked_sub(first_digit_index) {
Some(nd) => nd,
None => return None,
};
let num_digits = first_space_index.checked_sub(first_digit_index)?;

let dynamic_mask = _mm_cmplt_epi8(ascending, _mm_set1_epi8(num_digits as i8));

Expand Down
2 changes: 1 addition & 1 deletion av1an/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/master-of-zen/Av1an"
keywords = ["video"]
categories = ["command-line-utilities"]
license = "GPL-3.0"
rust-version = "1.63"
rust-version = "1.70"
edition = "2021"
readme = "../README.md"

Expand Down
2 changes: 1 addition & 1 deletion site/src/compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can natively build Av1an on Linux and Windows. Cross-compilation is not supp

To compile Av1an from source, you need the following dependencies:

- [Rust](https://www.rust-lang.org/) (version 1.63.0 or higher)
- [Rust](https://www.rust-lang.org/) (version 1.70.0 or higher)
- [NASM](https://www.nasm.us/)
- [clang/LLVM](https://llvm.org/)
- [FFmpeg](https://ffmpeg.org/)
Expand Down

0 comments on commit 086f89d

Please sign in to comment.