Skip to content

Commit

Permalink
Bump version to v0.11. Add MSRV. (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinsoon authored Apr 1, 2022
1 parent edade55 commit 8ae8009
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 9 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
===

Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
5 changes: 3 additions & 2 deletions mmtk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }

Expand Down
2 changes: 1 addition & 1 deletion mmtk/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2022-02-11
1.59.0

0 comments on commit 8ae8009

Please sign in to comment.