Skip to content

Commit

Permalink
Bump version to v0.11. Add MSRV. (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinsoon authored Apr 1, 2022
1 parent 078c0ec commit 896a3dc
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ jobs:
- name: Dacapo Tests
run: ./.github/scripts/ci-test-normal.sh

# Run these checks after build

# Style check
- name: Style checks
run: ./.github/scripts/ci-style.sh

# Verify the MSRV defined in Cargo.toml
- name: Install MSRV
run: cargo install cargo-msrv
- name: Verify MSRV
run: cargo msrv --path mmtk verify -- cargo check --features semispace --target i686-unknown-linux-gnu
# If the previous step fails, find MSRV
- name: Find MSRV
if: failure()
run: cargo msrv --path mmtk -- cargo check --features semispace --target i686-unknown-linux-gnu
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
0.11.0 (2022-04-01)
===

* The JikesRVM submodule is removed from the repo. We now record the VM version
in `[package.metadata.jikesrvm]` in the Cargo manifest `Cargo.toml`.
* Sets `ObjectModel::OBJECT_REF_OFFSET_BEYOND_CELL` so MMTk can guarantee metadata is set properly
for object references.
* Updates to mmtk-core 0.11.0.

0.10.0 (2022-02-14)
===

* Updates to mmtk-core 0.10.0.

0.9.0 (2021-12-16)
===

* Updates to mmtk-core 0.9.0.

0.8.0 (2021-11-01)
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ MMTk/JikesRVM supports `linux-i686` and `linux-x86_64` (as a 32-bit program).

If you use the set-up explained in [mmtk-dev-env](https://github.com/mmtk/mmtk-dev-env), make sure to do the following steps before continuing to the [Build](#build) section:

1. 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 toolchain specified in mmtk-dev-env
$ export RUSTUP_TOOLCHAIN=nightly-YYYY-MM-DD
```
1. Use a proper Rust toolchain. The minimal supported Rust version for MMTk-JikesRVM binding is 1.59.0 (for the stablization of inline assembly). Make sure your Rust version is higher than this. We test MMTk-JikesRVM
binding with Rust 1.59.0 (as specified in [`rust-toolchain`](mmtk/rust-toolchain)).

2. Set `openjdk-8-jdk` as the default JDK (openjdk-8-jdk is a build requirement of JikesRVM), e.g. by running:

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_jikesrvm"
version = "0.10.0"
version = "0.11.0"
authors = [" <>"]
rust-version = "1.59.0"

[lib]
name = "mmtk_jikesrvm"
Expand All @@ -27,7 +28,7 @@ log = {version = "0.4", features = ["max_level_trace", "release_max_level_off"]
# - change branch/rev
# - 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 = "cacded40b7622e97dea56a83179aaa6af42920d0" }
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "be96a270815c0f20a169a7214eebccfe50484be4" }
# Uncomment the following to build locally - if you change the path locally, do not commit the change in a PR
# mmtk = { path = "../repos/mmtk-core" }

Expand Down

0 comments on commit 896a3dc

Please sign in to comment.