Skip to content

Commit 0344c05

Browse files
committed
Fix cbindgen
1 parent 62f1249 commit 0344c05

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mmtk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ edition = "2021"
1212
# Metadata for the Ruby repository
1313
[package.metadata.ci-repos.ruby]
1414
repo = "mmtk/ruby" # This is used by actions/checkout, so the format is "owner/repo", not URL.
15-
rev = "f63ea9a7ab846f8c1e0fab3ea61cdd1b364a661c"
15+
rev = "2a566599cdb83134df4c64a4991b26e2a96dc24a"
1616

1717
[lib]
1818
name = "mmtk_ruby"

mmtk/cbindgen.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ typedef rb_thread_t* MMTk_VMMutatorThread;
2020
typedef struct MMTk_GCThreadTLS* MMTk_VMWorkerThread;
2121
typedef void* MMTk_Address;
2222
typedef void* MMTk_ObjectReference;
23+
typedef void* MMTk_NullableObjectReference;
2324
typedef uint32_t MMTk_AllocationSemantics;
2425
"""
2526

@@ -34,6 +35,7 @@ typedef uint32_t MMTk_AllocationSemantics;
3435
"VMWorkerThread" = "MMTk_VMWorkerThread"
3536
"Address" = "MMTk_Address"
3637
"ObjectReference" = "MMTk_ObjectReference"
38+
"NullableObjectReference" = "MMTk_NullableObjectReference"
3739
"RawVecOfObjRef" = "MMTk_RawVecOfObjRef"
3840
"AllocationSemantics" = "MMTk_AllocationSemantics"
3941
"GC_THREAD_KIND_CONTROLLER" = "MMTK_GC_THREAD_KIND_CONTROLLER"

0 commit comments

Comments
 (0)