Skip to content

Conversation

@wks
Copy link
Collaborator

@wks wks commented Feb 10, 2023

Some dependencies have new versions. It is a good chance to bump the dependency versions, too, after we bump the Rust toolchain versions.

One notable dependency is enum-map. Its latest version is 2.4.2, but we locked its version to 2.1.0 because it required a newer Rust toolchain. Now we can depend on its latest version, instead. We also changed the rust-version property in Cargo.toml to 1.61.0 because enum-map-derive depends on that, and 1.61.0 is not new compared to the 1.66.1 we use. See: #507 (comment)

This closes #693

@wks wks requested a review from qinsoon February 13, 2023 07:01
@qinsoon
Copy link
Member

qinsoon commented Feb 13, 2023

LGTM. This PR upgrades our minimal supported Rust version. I think we should update our bindings first, then merge this. Otherwise, our bindings cannot run with the latest mmtk-core. We will have a release at the end of this week, and we could update the binding's MSRV when we bump the version for the bindings.

@qinsoon
Copy link
Member

qinsoon commented Feb 17, 2023

@wks I pushed a change so when we test bindings with a PR, we use the Rust toolchain version in the PR for the bindings. I think this probably makes more sense, as the tests are initiated from mmtk-core. The MSVR and the toolchain specified in the binding should be updated in the binding when the binding uses a new mmtk-core commit as their dependency.

@qinsoon qinsoon added the PR-testing Run binding tests for the pull request (deprecated: use PR-extended-testing instead) label Feb 17, 2023
@qinsoon
Copy link
Member

qinsoon commented Feb 17, 2023

binding-refs
JULIA_BINDING_REPO=qinsoon/mmtk-julia
JULIA_BINDING_REF=enum-map-deps
JIKESRVM_BINDING_REPO=wks/mmtk-jikesrvm
JIKESRVM_BINDING_REF=bump-to-1.66.1

@qinsoon
Copy link
Member

qinsoon commented Feb 17, 2023

The binding tests should pass (except v8). I will keep an eye on this, and fix if there is any problem. Once everything works, I will merge it.

@qinsoon qinsoon merged commit 0d5b545 into mmtk:master Feb 21, 2023
wenyuzhao pushed a commit to wenyuzhao/mmtk-core that referenced this pull request Mar 20, 2023
Some dependencies have new versions. It is a good chance to bump the
dependency versions, too, after we bump the Rust toolchain versions.

One notable dependency is `enum-map`. Its latest version is 2.4.2, but
we locked its version to 2.1.0 because it required a newer Rust
toolchain. Now we can depend on its latest version, instead. We also
changed the `rust-version` property in `Cargo.toml` to `1.61.0` because
`enum-map-derive` depends on that, and `1.61.0` is not new compared to
the `1.66.1` we use. See:
mmtk#507 (comment)

This closes mmtk#693
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-testing Run binding tests for the pull request (deprecated: use PR-extended-testing instead)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update rust-toolchain

2 participants