summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2026-01-11 10:37:30 +0100
committerBenoit Daloze <eregontp@gmail.com>2026-01-12 08:44:26 +0100
commitbf36ad9c12481461031a2dbde39e27d96e5a86e4 (patch)
tree0cc13e23a577919a5d33adcc7532ba03694a0f18
parent916c0a810552b4c2c9a7fce2a50dc8c6efd5bb2f (diff)
ZJIT: remove unused rb_RSTRUCT_LEN()
-rw-r--r--zjit/bindgen/src/main.rs1
-rw-r--r--zjit/src/cruby.rs1
-rw-r--r--zjit/src/cruby_bindings.inc.rs1
3 files changed, 0 insertions, 3 deletions
diff --git a/zjit/bindgen/src/main.rs b/zjit/bindgen/src/main.rs
index 4af4886384..794293d1d3 100644
--- a/zjit/bindgen/src/main.rs
+++ b/zjit/bindgen/src/main.rs
@@ -413,7 +413,6 @@ fn main() {
.allowlist_function("rb_FL_TEST_RAW")
.allowlist_function("rb_RB_TYPE_P")
.allowlist_function("rb_BASIC_OP_UNREDEFINED_P")
- .allowlist_function("rb_RSTRUCT_LEN")
.allowlist_function("rb_vm_ci_argc")
.allowlist_function("rb_vm_ci_mid")
.allowlist_function("rb_vm_ci_flag")
diff --git a/zjit/src/cruby.rs b/zjit/src/cruby.rs
index 57a3bee7e0..51faaab9c2 100644
--- a/zjit/src/cruby.rs
+++ b/zjit/src/cruby.rs
@@ -198,7 +198,6 @@ pub use rb_FL_TEST as FL_TEST;
pub use rb_FL_TEST_RAW as FL_TEST_RAW;
pub use rb_RB_TYPE_P as RB_TYPE_P;
pub use rb_BASIC_OP_UNREDEFINED_P as BASIC_OP_UNREDEFINED_P;
-pub use rb_RSTRUCT_LEN as RSTRUCT_LEN;
pub use rb_vm_ci_argc as vm_ci_argc;
pub use rb_vm_ci_mid as vm_ci_mid;
pub use rb_vm_ci_flag as vm_ci_flag;
diff --git a/zjit/src/cruby_bindings.inc.rs b/zjit/src/cruby_bindings.inc.rs
index efb1559fb7..5d4fed0c3a 100644
--- a/zjit/src/cruby_bindings.inc.rs
+++ b/zjit/src/cruby_bindings.inc.rs
@@ -2153,7 +2153,6 @@ unsafe extern "C" {
pub fn rb_FL_TEST(obj: VALUE, flags: VALUE) -> VALUE;
pub fn rb_FL_TEST_RAW(obj: VALUE, flags: VALUE) -> VALUE;
pub fn rb_RB_TYPE_P(obj: VALUE, t: ruby_value_type) -> bool;
- pub fn rb_RSTRUCT_LEN(st: VALUE) -> ::std::os::raw::c_long;
pub fn rb_get_call_data_ci(cd: *const rb_call_data) -> *const rb_callinfo;
pub fn rb_BASIC_OP_UNREDEFINED_P(bop: ruby_basic_operators, klass: u32) -> bool;
pub fn rb_RCLASS_ORIGIN(c: VALUE) -> VALUE;