Skip to content

Commit

Permalink
Upgrade to Rust 1.48.0 in rust-toolchain
Browse files Browse the repository at this point in the history
A severe performance regression with `async fn` was fixed in 1.48.0,
which greatly improves compilation times on many people's machines.

rust-lang/rust#78410

As such, we bump the `rust-toolchain` file to 1.48.0 stable for a
smoother developer experience, even if 1.46.0 is still technically
supported features-wise.
  • Loading branch information
ebkalderon committed Nov 27, 2020
1 parent f4cb582 commit 43833df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ container engine.
## Getting started

To build this project on Linux, you will need the latest version of the
[Rust toolchain](https://www.rust-lang.org/) (at least version 1.46.0, as
provided with the `rust-toolchain` file).
[Rust toolchain](https://www.rust-lang.org/) (at least version 1.46.0, but
1.48.0 compiles async code faster, as provided in the `rust-toolchain` file).

The following binaries will also need to be available in `$PATH`:

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.46.0
1.48.0

0 comments on commit 43833df

Please sign in to comment.