From e33ab68e69082df57849fb83a701b254bf7b7395 Mon Sep 17 00:00:00 2001 From: Kunshan Wang Date: Thu, 5 Mar 2026 10:23:02 +0800 Subject: [PATCH] Depend on the `vo_bit` feature. mmtk-core removed the `is_mmtk_object` Cargo feature, and everything it provides is now directly under the `vo_bit` feature. We depend on the `vo_bit` feature directly. --- mmtk/Cargo.lock | 4 ++-- mmtk/Cargo.toml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mmtk/Cargo.lock b/mmtk/Cargo.lock index aa96dcd..6c5f4eb 100644 --- a/mmtk/Cargo.lock +++ b/mmtk/Cargo.lock @@ -573,7 +573,7 @@ dependencies = [ [[package]] name = "mmtk" version = "0.32.0" -source = "git+https://github.com/mmtk/mmtk-core.git?rev=084923f5ee035e25b138661ef936529b7466c2d1#084923f5ee035e25b138661ef936529b7466c2d1" +source = "git+https://github.com/wks/mmtk-core.git?rev=70b17d97c704c2f885bb96041abf686a07590530#70b17d97c704c2f885bb96041abf686a07590530" dependencies = [ "atomic", "atomic-traits", @@ -609,7 +609,7 @@ dependencies = [ [[package]] name = "mmtk-macros" version = "0.32.0" -source = "git+https://github.com/mmtk/mmtk-core.git?rev=084923f5ee035e25b138661ef936529b7466c2d1#084923f5ee035e25b138661ef936529b7466c2d1" +source = "git+https://github.com/wks/mmtk-core.git?rev=70b17d97c704c2f885bb96041abf686a07590530#70b17d97c704c2f885bb96041abf686a07590530" dependencies = [ "proc-macro-error", "proc-macro2", diff --git a/mmtk/Cargo.toml b/mmtk/Cargo.toml index 3f4a238..882b5c8 100644 --- a/mmtk/Cargo.toml +++ b/mmtk/Cargo.toml @@ -33,11 +33,11 @@ atomic_refcell = "0.1.9" probe = "0.5" [dependencies.mmtk] -features = ["is_mmtk_object", "object_pinning", "sticky_immix_non_moving_nursery"] +features = ["vo_bit", "object_pinning", "sticky_immix_non_moving_nursery"] # Uncomment the following lines to use mmtk-core from the official repository. -git = "https://github.com/mmtk/mmtk-core.git" -rev = "084923f5ee035e25b138661ef936529b7466c2d1" +git = "https://github.com/wks/mmtk-core.git" +rev = "70b17d97c704c2f885bb96041abf686a07590530" # Uncomment the following line to use mmtk-core from a local repository. #path = "../../mmtk-core"