Mercurial > hg-stable
changeset 45617:7bd13bf99d1c
rust: update minimum supported Rust compiler version
Debian stable backported `rustc 1.41.1` for a Firefox release that needed it,
so we can finally update the compiler version to something that isn't more than
a year old.
This means that (among other things [1]), `async await` syntax is usable!
Differential Revision: https://phab.mercurial-scm.org/D9138
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Mon, 28 Sep 2020 15:08:02 +0200 |
parents | ddcee0b0fd67 |
children | d5407b2e7689 |
files | rust/README.rst rust/hg-core/Cargo.toml |
diffstat | 2 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/rust/README.rst Fri Sep 25 11:29:19 2020 +0200 +++ b/rust/README.rst Mon Sep 28 15:08:02 2020 +0200 @@ -61,8 +61,8 @@ Developing Rust =============== -The current version of Rust in use is ``1.34.2``, because it's what Debian -stable has. You can use ``rustup override set 1.34.2`` at the root of the repo +The current version of Rust in use is ``1.41.1``, because it's what Debian +stable has. You can use ``rustup override set 1.41.1`` at the root of the repo to make it easier on you. Go to the ``hg-cpython`` folder::
--- a/rust/hg-core/Cargo.toml Fri Sep 25 11:29:19 2020 +0200 +++ b/rust/hg-core/Cargo.toml Mon Sep 28 15:08:02 2020 +0200 @@ -27,10 +27,8 @@ zstd = "0.5.3" rust-crypto = "0.2.36" -# We don't use the `miniz-oxide` backend because its minimum Rust version is -# `1.36`. However, this PR (https://github.com/Frommi/miniz_oxide/pull/84/files) -# introduces a flag `no_extern_crate_alloc` to bring the requirement back down -# to `1.34`. +# We don't use the `miniz-oxide` backend to not change rhg benchmarks and until +# we have a clearer view of which backend is the fastest. [dependencies.flate2] version = "1.0.16" features = ["zlib"]