Skip to content

Commit

Permalink
Fix outdated Rust version in README (#942)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
qinsoon authored Sep 6, 2023
1 parent 42991c2 commit e8b826f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# MMTk

[![crates.io](https://img.shields.io/crates/v/mmtk.svg)](https://crates.io/crates/mmtk)
![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)
[![docs.rs](https://docs.rs/mmtk/badge.svg)](https://docs.rs/mmtk/)
[![project chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://mmtk.zulipchat.com/)

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

## Build

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.
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
version (MSRV) in [`Cargo.toml`](Cargo.toml#L13).

```console
$ cargo build
Expand Down

0 comments on commit e8b826f

Please sign in to comment.