diff options
author | Alan Wu <[email protected]> | 2025-01-30 18:00:53 -0500 |
---|---|---|
committer | Alan Wu <[email protected]> | 2025-01-30 18:00:53 -0500 |
commit | 7e733ca55168e3b1f10b685f6e9a52cf1deb5aff (patch) | |
tree | b2a2570f6190256e1152c6ced24d51179e1dec74 | |
parent | afd7d5be5ec560c58dd3f18006d9a786125d5800 (diff) |
YJIT: Explicitly specify C ABI to fix a nightly Rust warning
-rw-r--r-- | yjit/src/codegen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index 784e2a8135..97ea3877aa 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -7393,7 +7393,7 @@ enum IseqReturn { Receiver, } -extern { +extern "C" { fn rb_simple_iseq_p(iseq: IseqPtr) -> bool; fn rb_iseq_only_kwparam_p(iseq: IseqPtr) -> bool; } |