From ab8f97b0bb913b04fb6da96d72b954b8ff98cf7d Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Fri, 12 Aug 2022 16:08:27 +0200 Subject: [PATCH] Bump MSRV to 1.56.1 This is what `hashbrown` did recently: https://github.com/rust-lang/hashbrown/pull/298 And it causes CI failures for us. Examples: * https://github.com/sharkdp/bat/pull/2266 * https://github.com/sharkdp/bat/pull/2265 The path of least resistance for us is to also bump MSRV, so let's do that. 1.56.1 was released [9 months ago](https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html). --- .github/workflows/CICD.yml | 2 +- README.md | 2 +- doc/README-ja.md | 2 +- doc/README-ko.md | 2 +- doc/README-ru.md | 2 +- doc/README-zh.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index dee474b2..46f8dc69 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -1,7 +1,7 @@ name: CICD env: - MIN_SUPPORTED_RUST_VERSION: "1.51.0" + MIN_SUPPORTED_RUST_VERSION: "1.56.1" CICD_INTERMEDIATES_DIR: "_cicd-intermediates" on: diff --git a/README.md b/README.md index cd849f4a..a6bc9a1d 100644 --- a/README.md +++ b/README.md @@ -418,7 +418,7 @@ binaries are also available: look for archives with `musl` in the file name. ### From source -If you want to build `bat` from source, you need Rust 1.51 or +If you want to build `bat` from source, you need Rust 1.56.1 or higher. You can then use `cargo` to build everything: ```bash diff --git a/doc/README-ja.md b/doc/README-ja.md index f126c34c..83d8cca4 100644 --- a/doc/README-ja.md +++ b/doc/README-ja.md @@ -366,7 +366,7 @@ ansible-galaxy install aeimer.install_bat ### From source -`bat` をソースからビルドしたいならば、Rust 1.51 以上の環境が必要です。 +`bat` をソースからビルドしたいならば、Rust 1.56.1 以上の環境が必要です。 `cargo` を使用してビルドすることができます: ```bash diff --git a/doc/README-ko.md b/doc/README-ko.md index 956f9c1f..34e766ba 100644 --- a/doc/README-ko.md +++ b/doc/README-ko.md @@ -416,7 +416,7 @@ scoop install bat ### 소스에서 -`bat`의 소스를 빌드하기 위해서는, Rust 1.51 이상이 필요합니다. +`bat`의 소스를 빌드하기 위해서는, Rust 1.56.1 이상이 필요합니다. `cargo`를 이용해 전부 빌드할 수 있습니다: ```bash diff --git a/doc/README-ru.md b/doc/README-ru.md index 89aba7fc..b3c89984 100644 --- a/doc/README-ru.md +++ b/doc/README-ru.md @@ -344,7 +344,7 @@ ansible-galaxy install aeimer.install_bat ### Из исходников -Если вы желаете установить `bat` из исходников, вам понадобится Rust 1.51 или выше. После этого используйте `cargo`, чтобы все скомпилировать: +Если вы желаете установить `bat` из исходников, вам понадобится Rust 1.56.1 или выше. После этого используйте `cargo`, чтобы все скомпилировать: ```bash cargo install --locked bat diff --git a/doc/README-zh.md b/doc/README-zh.md index 2cdc039e..01a30899 100644 --- a/doc/README-zh.md +++ b/doc/README-zh.md @@ -372,7 +372,7 @@ scoop install bat ### 从源码编译 -如果你想要自己构建`bat`,那么你需要安装有高于1.51版本的 Rust。 +如果你想要自己构建`bat`,那么你需要安装有高于1.56.1版本的 Rust。 使用以下命令编译。