Skip to content

Commit

Permalink
Fix cbindgen
Browse files Browse the repository at this point in the history
  • Loading branch information
wks committed Apr 26, 2024
1 parent 62f1249 commit 0344c05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mmtk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = "2021"
# Metadata for the Ruby repository
[package.metadata.ci-repos.ruby]
repo = "mmtk/ruby" # This is used by actions/checkout, so the format is "owner/repo", not URL.
rev = "f63ea9a7ab846f8c1e0fab3ea61cdd1b364a661c"
rev = "2a566599cdb83134df4c64a4991b26e2a96dc24a"

[lib]
name = "mmtk_ruby"
Expand Down
2 changes: 2 additions & 0 deletions mmtk/cbindgen.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ typedef rb_thread_t* MMTk_VMMutatorThread;
typedef struct MMTk_GCThreadTLS* MMTk_VMWorkerThread;
typedef void* MMTk_Address;
typedef void* MMTk_ObjectReference;
typedef void* MMTk_NullableObjectReference;
typedef uint32_t MMTk_AllocationSemantics;
"""

Expand All @@ -34,6 +35,7 @@ typedef uint32_t MMTk_AllocationSemantics;
"VMWorkerThread" = "MMTk_VMWorkerThread"
"Address" = "MMTk_Address"
"ObjectReference" = "MMTk_ObjectReference"
"NullableObjectReference" = "MMTk_NullableObjectReference"
"RawVecOfObjRef" = "MMTk_RawVecOfObjRef"
"AllocationSemantics" = "MMTk_AllocationSemantics"
"GC_THREAD_KIND_CONTROLLER" = "MMTK_GC_THREAD_KIND_CONTROLLER"
Expand Down

0 comments on commit 0344c05

Please sign in to comment.