Skip to content

Commit a5eb028

Browse files
committed
Move to Rust 1.92
1 parent c663ae7 commit a5eb028

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

mmtk/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ probe = "0.5"
3636
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.
39-
git = "https://github.com/mmtk/mmtk-core.git"
40-
rev = "2ad6d36ab3d82be46135a7d76d4fe59cc84620ed"
39+
git = "https://github.com/qinsoon/mmtk-core.git"
40+
rev = "d7a06ced02c588c58a7f6064d474e5de8826f948"
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)