Skip to content

Commit b9fecee

Browse files
qinsoonmmtkgc-bot
andauthored
Move to Rust 1.92 (#148)
Co-authored-by: mmtkgc-bot <mmtkgc.bot@gmail.com>
1 parent c663ae7 commit b9fecee

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

mmtk/Cargo.lock

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mmtk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ features = ["is_mmtk_object", "object_pinning", "sticky_immix_non_moving_nursery
3737

3838
# Uncomment the following lines to use mmtk-core from the official repository.
3939
git = "https://github.com/mmtk/mmtk-core.git"
40-
rev = "2ad6d36ab3d82be46135a7d76d4fe59cc84620ed"
40+
rev = "e30d0a0866fe66d352eb09eb7f9e9466dc649172"
4141

4242
# Uncomment the following line to use mmtk-core from a local repository.
4343
#path = "../../mmtk-core"

mmtk/rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.83.0
1+
1.92.0

mmtk/src/abi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ impl ObjectClosure {
182182
F2: 'env + FnOnce() -> T,
183183
{
184184
debug_assert!(
185-
self.c_function == THE_UNREGISTERED_CLOSURE_FUNC,
185+
std::ptr::fn_addr_eq(self.c_function, THE_UNREGISTERED_CLOSURE_FUNC),
186186
"set_temporarily_and_run_code is recursively called."
187187
);
188188
self.c_function = Self::c_function_registered::<F1>;

0 commit comments

Comments
 (0)