Skip to content

Commit e8b826f

Browse files
authored
Fix outdated Rust version in README (#942)
This PR fixes some outdated Rust versions mentioned in README. * We no longer mention a specific Rust version in README. Instead, it provides links to where we define the versions. * Add an MSRV badge.
1 parent 42991c2 commit e8b826f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# MMTk
22

33
[![crates.io](https://img.shields.io/crates/v/mmtk.svg)](https://crates.io/crates/mmtk)
4+
![MSRV](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fmmtk%2Fmmtk-core%2Fmaster%2FCargo.toml&query=%24.package%5B%22rust-version%22%5D&label=MSRV)
45
[![docs.rs](https://docs.rs/mmtk/badge.svg)](https://docs.rs/mmtk/)
56
[![project chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://mmtk.zulipchat.com/)
67

@@ -20,7 +21,8 @@ We maintain an up to date list of the prerequisite for building MMTk and its bin
2021

2122
## Build
2223

23-
MMTk can build with a stable Rust toolchain. The minimal supported Rust version is 1.61.0, and MMTk is tested with 1.66.1.
24+
MMTk can build with a stable Rust toolchain. We pin to a specific Rust version using [the `rust-toolchain` file](rust-toolchain), and we specify the minimal supported Rust
25+
version (MSRV) in [`Cargo.toml`](Cargo.toml#L13).
2426

2527
```console
2628
$ cargo build

0 commit comments

Comments
 (0)