diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cdb188..52f7546 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,3 +33,22 @@ jobs: - name: Run V8 Tests run: ./.github/scripts/test-v8.sh + + msrv: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Install cargo-msrv + run: cargo install cargo-msrv + # Verify the MSRV defined in Cargo.toml + - name: Verify MSRV + run: cargo msrv --path mmtk verify + # If the previous step fails, find MSRV + - name: Find MSRV + if: failure() + run: cargo msrv --path mmtk diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f60a84..9cf3ba7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +0.11.0 (2022-04-1) +=== + +* We now record the V8 version in `[package.metadata.v8]` in the Cargo manifest `Cargo.toml`. +* Updates to mmtk-core 0.11.0. + 0.10.0 (2022-02-14) === diff --git a/README.md b/README.md index b4c440f..1c1d5d3 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,8 @@ MMTk/V8 currently only supports `linux-x86_64`. ### Before you continue -If you use the set-up explained in [mmtk-dev-env](https://github.com/mmtk/mmtk-dev-env), make sure to set the default Rust toolchain to the one specified in [mmtk-dev-env](https://github.com/mmtk/mmtk-dev-env), e.g. by running: - -```console -$ # replace nightly-YYYY-MM-DD with the the toolchain specified in mmtk-dev-env -$ export RUSTUP_TOOLCHAIN=nightly-YYYY-MM-DD -``` +The minimal supported Rust version for MMTk-V8 binding is 1.57.0. Make sure your Rust version is higher than this. We test MMTk-V8 +binding with Rust 1.59.0 (as specified in [`rust-toolchain`](mmtk/rust-toolchain)). ### Getting Sources (for MMTk and VM) diff --git a/mmtk/Cargo.toml b/mmtk/Cargo.toml index ecfcaf5..9ff4537 100644 --- a/mmtk/Cargo.toml +++ b/mmtk/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "mmtk_v8" -version = "0.10.0" +version = "0.11.0" authors = [" <>"] +rust-version = "1.57.0" [lib] name = "mmtk_v8" @@ -26,7 +27,7 @@ log = "*" # - change branch # - change repo name # But other changes including adding/removing whitespaces in commented lines may break the CI. -mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "cd6d8984c10c294c991dcd5f154ce41073c06ab9" } +mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "be96a270815c0f20a169a7214eebccfe50484be4" } # Uncomment the following and fix the path to mmtk-core to build locally # mmtk = { path = "../repos/mmtk-core" } diff --git a/mmtk/rust-toolchain b/mmtk/rust-toolchain index 8445feb..bb120e8 100644 --- a/mmtk/rust-toolchain +++ b/mmtk/rust-toolchain @@ -1 +1 @@ -nightly-2022-02-11 +1.59.0