Skip to content

Commit 86c6f53

Browse files
authored
Bump version to v0.11. Add MSRV. (#150)
1 parent 32b5071 commit 86c6f53

File tree

5 files changed

+36
-11
lines changed

5 files changed

+36
-11
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,22 @@ jobs:
2424
# Style check
2525
- name: Style checks
2626
run: ./.github/scripts/ci-style.sh
27+
28+
msrv:
29+
runs-on: ubuntu-18.04
30+
steps:
31+
- uses: actions/checkout@v2
32+
- name: Install Rust toolchain
33+
uses: actions-rs/toolchain@v1
34+
with:
35+
toolchain: stable
36+
override: true
37+
- name: Install cargo-msrv
38+
run: cargo install cargo-msrv
39+
# Verify the MSRV defined in Cargo.toml
40+
- name: Verify MSRV
41+
run: cargo msrv --path mmtk verify
42+
# If the previous step fails, find MSRV
43+
- name: Find MSRV
44+
if: failure()
45+
run: cargo msrv --path mmtk

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1+
0.11.0 (2022-04-01)
2+
===
3+
4+
* The OpenJDK submodule is removed from the repo. We now record the VM version
5+
in `[package.metadata.openjdk]` in the Cargo manifest `Cargo.toml`.
6+
* The OpenJDK binding now builds with stable Rust toolchains.
7+
* Removes `object_alignment` from `OpenJDK_Upcalls`.
8+
* Implements `ObjectModel::get_reference_when_copied_to()`.
9+
* Updates to mmtk-core 0.11.0.
10+
111
0.10.0 (2022-02-14)
212
===
313

414
* Implements a fastpath for `ObjectModel::get_current_size()` in Rust.
515
* Supports setting MMTk options by `-XX:THIRD_PARTY_HEAP_OPTIONS=`
616
* Supports proper OutOfMemory exceptions.
7-
* Upudates to mmtk-core 0.10.0.
17+
* Updates to mmtk-core 0.10.0.
818

919
0.9.0 (2021-12-16)
1020
===

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@ Please make sure your dev machine satisfies those prerequisites.
1515

1616
### Before you continue
1717

18-
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:
19-
20-
```console
21-
# replace nightly-YYYY-MM-DD with the the toolchain version specified in mmtk-dev-env
22-
$ export RUSTUP_TOOLCHAIN=nightly-YYYY-MM-DD
23-
```
24-
18+
The minimal supported Rust version for MMTk-OpenJDK binding is 1.57.0. Make sure your Rust version is higher than this. We test MMTk-OpenJDK
19+
binding with Rust 1.59.0 (as specified in [`rust-toolchain`](mmtk/rust-toolchain)).
2520
You may also need to use ssh-agent to authenticate with github (see [here](https://github.com/rust-lang/cargo/issues/3487) for more info):
2621

2722
```console

mmtk/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "mmtk_openjdk"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
authors = [" <>"]
5+
rust-version = "1.57.0"
56

67
[lib]
78
name = "mmtk_openjdk"
@@ -27,7 +28,7 @@ once_cell = "1.10.0"
2728
# - change branch
2829
# - change repo name
2930
# But other changes including adding/removing whitespaces in commented lines may break the CI.
30-
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "cacded40b7622e97dea56a83179aaa6af42920d0" }
31+
mmtk = { git = "https://github.com/mmtk/mmtk-core.git", rev = "be96a270815c0f20a169a7214eebccfe50484be4" }
3132
# Uncomment the following to build locally
3233
# mmtk = { path = "../repos/mmtk-core" }
3334

mmtk/rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
stable
1+
1.59.0

0 commit comments

Comments
 (0)