Skip to content

Ruby C API: load C extensions on Linux and Windows; build gems' extensions (sqlite3) - #226

Merged
Largo merged 8 commits into
masterfrom
claude/capi-first-milestone
Nov 16, 2026
Merged

Largo merged 8 commits into
masterfrom
claude/capi-first-milestone

Conversation

@Largo

@Largo Largo commented Nov 15, 2026

Copy link
Copy Markdown
Owner

IronRuby gets a Ruby C API: a C extension compiled against ruby.h can be required, on Linux x64 and Windows x64 (MinGW gcc, as RubyInstaller uses), and gem install builds gems' C extensions. With IRONRUBY_NATIVE_GEMS=sqlite3, the real sqlite3 gem (2.10.2) installs, builds its extension and runs on both platforms instead of IronRuby's built-in C# port.

Design and limits: Src/Ruby/CApi/README.md.

What's in it

  • Headers (Src/StdLib/include): CRuby 4.0's own (Ruby's licence, BSD-2-Clause), imported by Util/capi/import-headers.rb, which turns the macros that read object memory (RSTRING_PTR, RARRAY_LEN, RBASIC flags, RB_BUILTIN_TYPE...) into calls. config.h for x86_64-linux and x64-mingw-ucrt.
  • Native shim libironruby-capi.so / .dll + import library (Util/build-capi.sh). It exports the rb_* functions; most forward through a function-pointer table to [UnmanagedCallersOnly] methods generated from Src/Ruby/CApi/functions.txt (~520), the variadic and exception-catching ones are C, and every other function CRuby declares or exports is a stub raising NotImplementedError, so an extension loads even if it uses something not implemented yet.
  • Exceptions cross C frames by setjmp/longjmp between trampolines, as in CRuby (CLR exceptions cannot unwind native frames).
  • VALUEs: CRuby's encoding for immediates; other objects are handles to 48-byte native slots laid out as RBasic/RData, so DATA_PTR, RTYPEDDATA_TYPE and direct RBASIC reads work.
  • T_DATA/TypedData and rb_define_alloc_func (RubyClass.CAllocator, used by Class#allocate/#new).
  • rb_thread_call_without_gvl marks the thread asleep and runs the extension's unblocking function on Thread#wakeup/#kill/#raise or a signal.
  • Loader: an ELF .so or a PE DLL without CLR metadata is dlopened/LoadLibrary'd; one built for CRuby is refused with a LoadError.
  • RbConfig/mkmf: a gcc toolchain on Linux and MinGW's on Windows; Src/StdLib/ironruby/mkmf.rb turns mkmf's MSVC mode off, since RUBY_PLATFORM stays x64-mswin64.
  • RubyGems: extensions are built when the C API is available; one that fails to build falls back to the old behaviour (Ruby files only) with a warning. Built-in libraries stay pinned unless IRONRUBY_NATIVE_GEMS names them.
  • Windows fix outside the C API: Gem.load_path_insert_index compared $LOAD_PATH entries as written; ir.cmd puts the stdlib there with backslashes, so a newer installed version of a default gem never won on Windows.

Results

ruby/spec optional/capi, whole directory in one mspec ci run, no crash or hang (before: 0 of 1670):

examples run passing
Linux 1641 1380
Windows 1457 1186

boolean, constants, integer, array and string pass completely on both. Most Windows-only failures are bignum_spec, whose setup disagrees with IronRuby's 64-bit RbConfig::LIMITS["FIXNUM_MAX"] (31-bit Fixnums in the Windows C ABI).

Checks: IronRuby.Tests passes on Linux and on Windows (VM); spec/language has only its known failure; command_line, core/thread, core/signal, library/rbconfig and kernel/require specs pass.

Not in this PR

  • CI does not build the shim yet (Linux: Util/build-capi.sh; Windows: the same from an MSYS2 shell), so CI runs without the C API.
  • A T_DATA object's dfree never runs: objects handed to C are kept alive for the process.
  • Keyword arguments from C, rb_io_t and the IO wait functions, rb_lastline_*/rb_backref_set, st tables, macOS, MSVC-built extensions.
  • The sqlite3 gem's own test suite was not run; checked with a script covering queries, binds, prepared statements, transactions, exceptions and Ruby-defined SQL functions.

🤖 Generated with Claude Code

Largo and others added 8 commits November 15, 2026 21:04
IronRuby had no C API: Src/StdLib/include/ruby.h was a single #error, and a
require of a compiled extension raised LoadError. This adds a first one, so a
C extension built by mkmf against IronRuby's headers can be required (Linux
x64).

- Src/StdLib/include: CRuby 4.0's headers (Ruby's licence, BSD-2-Clause),
  imported by Util/capi/import-headers.rb, which turns the inline functions
  that read object memory (RSTRING_PTR, RARRAY_LEN, RBASIC flags,
  RB_BUILTIN_TYPE, the encoding index) into calls.
- libironruby-capi.so (Src/Ruby/CApi/native, Util/build-capi.sh): exports
  the rb_* functions. Most forward through a function-pointer table to
  [UnmanagedCallersOnly] methods generated from functions.txt; variadic
  functions, rb_protect/rb_rescue2/rb_ensure and printf with PRIsVALUE are C;
  every other declared function is a NotImplementedError stub. Ruby
  exceptions cross C frames by setjmp/longjmp between trampolines, as in
  CRuby, since CLR exceptions cannot unwind native frames on Unix.
- Src/Ruby/CApi: CRuby's VALUE encoding for immediates, a handle table for
  everything else, methods defined from C, blocks and rb_yield, native
  mirrors for RSTRING_PTR/RARRAY_PTR, ~300 functions for objects, classes,
  constants, exceptions, numbers, strings, encodings, arrays and hashes.
- Loader: an ELF/Mach-O .so is dlopened and Init_<name> called, if it carries
  the rb_ir_abi_version marker IronRuby's headers emit; a CRuby-built one
  gets a LoadError.
- RbConfig: a gcc toolchain and rubyarchhdrdir on Linux, so mkmf builds.

Measured with ruby/spec's capi specs (mspec ci): boolean 4/4, constants 77/77,
integer 29/29, array 79/79, string 234/234.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… regions

Measured over the whole of ruby/spec's optional/capi (one mspec ci run): 1359
of 1627 examples pass, up from 738 of 1539; no file crashes or hangs the run.

- Handles are 32-byte native slots laid out as RBasic (flags, klass) plus the
  table index, so an extension that reads RBASIC(obj) itself - ruby/spec's
  rbasic specs do - gets a plausible answer instead of a segfault that would
  end the whole process.
- rb_thread_call_without_gvl and friends mark the thread "sleep" and run the
  extension's unblocking function when Thread#wakeup, #raise, #kill or a
  signal for the main thread reach it (RubyUtils.NativeUnblockHook);
  RUBY_UBF_IO interrupts the blocking call with SIGVTALRM. Without this the
  thread specs blocked in read(2) until mspec's timeout killed the run.
- The non-inline rb_scan_args, rb_struct_define/new, rb_exec_recursive,
  CRuby's rb_gvar_* getters and setters, ruby_strdup/strtod and the
  Onigmo character functions an rb_encoding's macros call are C.
- Conversions, Struct, Range, Regexp, IO, Mutex, Thread, Fiber, Set, Proc,
  Time (struct timeval/timespec by value), class variables, global
  variables backed by C, encodings.
- Every function CRuby exports gets a NotImplementedError stub, not only the
  ones the headers declare: an extension that declares one itself
  (hash_spec.c's rb_ident_hash_new) otherwise failed to dlopen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
rb_define_alloc_func gives a class an allocator that Class#allocate and
Class#new go through (RubyClass.CAllocator, inherited by subclasses; the JIT's
plain-allocation fast path steps aside for such a class). Data_Wrap_Struct and
TypedData_Wrap_Struct make a DataObject whose handle slot, now 48 bytes, is
laid out as RData/RTypedData, so DATA_PTR, RTYPEDDATA_TYPE and
TypedData_Get_Struct work as plain memory reads as they do on CRuby. dup and
clone of such an object allocate through the allocator. rb_get_alloc_func
answers a working allocator for every class. ruby_xmalloc & co are C.

typed_data_spec 12/14 (was not loading), object_spec 125/132.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…o the real gem

With the C API (libironruby-capi next to the executable and a compiler in
RbConfig), RubyGems and Bundler now build a gem's C extension as on CRuby. One
that fails to build leaves the gem as before - Ruby files only - with a
warning, instead of failing the install. Libraries IronRuby implements itself
(sqlite3, nokogiri, json...) keep their built-in version unless
IRONRUBY_NATIVE_GEMS names them (or is "*"): then the name is no longer
pinned, its extension is built, and the installed gem is activated ahead of
the built-in.

Extensions now link against libironruby-capi (LIBRUBYARG), as CRuby's link
against libruby: mkmf's have_func links a test program, which failed without
it, so sqlite3's extconf took the code path for CRuby's bignum internals.

rb_apply, rb_utf8_str_new and rb_utf8_str_new_cstr, the three functions the
sqlite3 gem used that were stubs.

Checked: IRONRUBY_NATIVE_GEMS=sqlite3 igem install sqlite3 --platform ruby
-- --enable-system-libraries builds sqlite3-2.10.2's extension, and
require "sqlite3" then runs queries, binds, prepared statements,
transactions, exceptions and Ruby-defined SQL functions on it. Without the
variable require "sqlite3" is the built-in 2.9.6 as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- C's long is 32-bit on Windows: the native entry points take and return
  CLong/CULong (generate.rb), C long ranges and FIXNUM_MAX (LONG_MAX / 2) are
  the platform's, struct timeval is two C longs.
- The shim builds as libironruby-capi.dll with MinGW gcc, exporting every
  function and global VALUE, plus the import library extensions link against
  (build-capi.sh, Ruby.csproj). Unwinding uses GCC's __builtin_setjmp, as
  CRuby's MinGW build does, instead of the CRT's SEH-unwinding longjmp.
  RUBY_UBF_IO cancels the blocked thread's synchronous I/O.
- The loader recognises a native PE DLL (no CLR metadata) and loads it with
  LoadLibrary; it refuses one that does not import libironruby-capi.dll (a
  CRuby-built extension) instead of relying on a weak symbol.
- RbConfig describes RubyInstaller's MinGW toolchain on Windows; host_os and
  RUBY_PLATFORM still say mswin64, so Src/StdLib/ironruby/mkmf.rb clears
  mkmf's MSVC mode and RubyGems is pointed at make rather than nmake.
- The headers gain ruby/win32.h and x64-mingw-ucrt/ruby/config.h from
  RubyInstaller's CRuby 4.0.5 (import-headers.rb --also).

Linux unchanged (capi specs and the sqlite3 gem checked again).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… on Windows

Fixes found running it in the Windows VM (MSYS2 UCRT64 gcc 16, .NET 10):
- the arity dispatch casts to each arity's own function type: in C23, GCC
  16's default, VALUE (*)() takes no arguments;
- rb_out_of_int is declared with SIGNED_VALUE (long long on Windows);
- the shim's name and the C long and Fixnum ranges asked IsWindows before it
  was initialised (static fields of a partial class across files): it is a
  property now;
- RbConfig on Windows: the import library's directory written out (mkmf
  takes the drive letter off a $(bindir) reference), and gcc's OBJEXT/LIBEXT
  (mkmf's try_compile looked for conftest.obj, so every have_header failed);
- rb_locale_str_new & co use Encoding.find("locale"), a code page on Windows.

And a fix for Windows IronRuby in general: Gem.load_path_insert_index
compared $LOAD_PATH entries as written, but ir.cmd puts the standard
library on it with backslashes and a forward-slash copy comes later, so a
newer installed version of a default gem stayed behind the built-in one.

Windows results: ruby/spec optional/capi 1186 of 1457 examples (whole
directory, no crash or hang); the five first files pass except bignum's
setup, which disagrees with IronRuby's 64-bit RbConfig::LIMITS FIXNUM_MAX.
IRONRUBY_NATIVE_GEMS=sqlite3 igem install sqlite3 --platform ruby --
--enable-system-libraries builds sqlite3 2.10.2, and require "sqlite3" runs
it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 235 files, which is 85 over the limit of 150.

To get a review, reduce the PR to 150 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to Team to raise the limit.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between adb5aff and 43c3606.

Files ignored due to path filters: 2

  • Src/Ruby/CApi/CApi.Generated.cs is excluded by !**/*.generated.*
  • Src/Ruby/CApi/native/forwarders.generated.c is excluded by !**/*.generated.*
Files selected for processing: 235

  • .gitignore
  • README.md
  • Src/Libraries/Builtins/PosixSignals.cs
  • Src/Libraries/Builtins/ThreadOps.cs
  • Src/Ruby/Builtins/MutableString.cs
  • Src/Ruby/Builtins/RubyClass.cs
  • Src/Ruby/CApi/CApi.Calls.cs
  • Src/Ruby/CApi/CApi.Collections.cs
  • Src/Ruby/CApi/CApi.Library.cs
  • Src/Ruby/CApi/CApi.Mirrors.cs
  • Src/Ruby/CApi/CApi.Numbers.cs
  • Src/Ruby/CApi/CApi.Objects.cs
  • Src/Ruby/CApi/CApi.Strings.cs
  • Src/Ruby/CApi/CApi.Threads.cs
  • Src/Ruby/CApi/CApi.Values.cs
  • Src/Ruby/CApi/CApi.Variables.cs
  • Src/Ruby/CApi/CApi.cs
  • Src/Ruby/CApi/DataObject.cs
  • Src/Ruby/CApi/README.md
  • Src/Ruby/CApi/functions.txt
  • Src/Ruby/CApi/native/capi.c
  • Src/Ruby/CApi/native/capi.h
  • Src/Ruby/CApi/native/cruby-exports.txt
  • Src/Ruby/CApi/native/declared.txt
  • Src/Ruby/Ruby.csproj
  • Src/Ruby/Runtime/Loader.cs
  • Src/Ruby/Runtime/RubyUtils.cs
  • Src/StdLib/include/BSDL
  • Src/StdLib/include/COPYING
  • Src/StdLib/include/README.md
  • Src/StdLib/include/ruby.h
  • Src/StdLib/include/ruby/assert.h
  • Src/StdLib/include/ruby/atomic.h
  • Src/StdLib/include/ruby/backward.h
  • Src/StdLib/include/ruby/backward/2/assume.h
  • Src/StdLib/include/ruby/backward/2/attributes.h
  • Src/StdLib/include/ruby/backward/2/bool.h
  • Src/StdLib/include/ruby/backward/2/gcc_version_since.h
  • Src/StdLib/include/ruby/backward/2/inttypes.h
  • Src/StdLib/include/ruby/backward/2/limits.h
  • Src/StdLib/include/ruby/backward/2/long_long.h
  • Src/StdLib/include/ruby/backward/2/r_cast.h
  • Src/StdLib/include/ruby/backward/2/rmodule.h
  • Src/StdLib/include/ruby/backward/2/stdalign.h
  • Src/StdLib/include/ruby/backward/2/stdarg.h
  • Src/StdLib/include/ruby/backward/cxxanyargs.hpp
  • Src/StdLib/include/ruby/debug.h
  • Src/StdLib/include/ruby/defines.h
  • Src/StdLib/include/ruby/digest.h
  • Src/StdLib/include/ruby/encoding.h
  • Src/StdLib/include/ruby/fiber/scheduler.h
  • Src/StdLib/include/ruby/intern.h
  • Src/StdLib/include/ruby/internal/abi.h
  • Src/StdLib/include/ruby/internal/anyargs.h
  • Src/StdLib/include/ruby/internal/arithmetic.h
  • Src/StdLib/include/ruby/internal/arithmetic/char.h
  • Src/StdLib/include/ruby/internal/arithmetic/double.h
  • Src/StdLib/include/ruby/internal/arithmetic/fixnum.h
  • Src/StdLib/include/ruby/internal/arithmetic/gid_t.h
  • Src/StdLib/include/ruby/internal/arithmetic/int.h
  • Src/StdLib/include/ruby/internal/arithmetic/intptr_t.h
  • Src/StdLib/include/ruby/internal/arithmetic/long.h
  • Src/StdLib/include/ruby/internal/arithmetic/long_long.h
  • Src/StdLib/include/ruby/internal/arithmetic/mode_t.h
  • Src/StdLib/include/ruby/internal/arithmetic/off_t.h
  • Src/StdLib/include/ruby/internal/arithmetic/pid_t.h
  • Src/StdLib/include/ruby/internal/arithmetic/short.h
  • Src/StdLib/include/ruby/internal/arithmetic/size_t.h
  • Src/StdLib/include/ruby/internal/arithmetic/st_data_t.h
  • Src/StdLib/include/ruby/internal/arithmetic/uid_t.h
  • Src/StdLib/include/ruby/internal/assume.h
  • Src/StdLib/include/ruby/internal/attr/alloc_size.h
  • Src/StdLib/include/ruby/internal/attr/artificial.h
  • Src/StdLib/include/ruby/internal/attr/cold.h
  • Src/StdLib/include/ruby/internal/attr/const.h
  • Src/StdLib/include/ruby/internal/attr/constexpr.h
  • Src/StdLib/include/ruby/internal/attr/deprecated.h
  • Src/StdLib/include/ruby/internal/attr/diagnose_if.h
  • Src/StdLib/include/ruby/internal/attr/enum_extensibility.h
  • Src/StdLib/include/ruby/internal/attr/error.h
  • Src/StdLib/include/ruby/internal/attr/flag_enum.h
  • Src/StdLib/include/ruby/internal/attr/forceinline.h
  • Src/StdLib/include/ruby/internal/attr/format.h
  • Src/StdLib/include/ruby/internal/attr/maybe_unused.h
  • Src/StdLib/include/ruby/internal/attr/noalias.h
  • Src/StdLib/include/ruby/internal/attr/nodiscard.h
  • Src/StdLib/include/ruby/internal/attr/noexcept.h
  • Src/StdLib/include/ruby/internal/attr/noinline.h
  • Src/StdLib/include/ruby/internal/attr/nonnull.h
  • Src/StdLib/include/ruby/internal/attr/nonstring.h
  • Src/StdLib/include/ruby/internal/attr/noreturn.h
  • Src/StdLib/include/ruby/internal/attr/packed_struct.h
  • Src/StdLib/include/ruby/internal/attr/pure.h
  • Src/StdLib/include/ruby/internal/attr/restrict.h
  • Src/StdLib/include/ruby/internal/attr/returns_nonnull.h
  • Src/StdLib/include/ruby/internal/attr/warning.h
  • Src/StdLib/include/ruby/internal/attr/weakref.h
  • Src/StdLib/include/ruby/internal/cast.h
  • Src/StdLib/include/ruby/internal/compiler_is.h
  • Src/StdLib/include/ruby/internal/compiler_is/apple.h
  • Src/StdLib/include/ruby/internal/compiler_is/clang.h
  • Src/StdLib/include/ruby/internal/compiler_is/gcc.h
  • Src/StdLib/include/ruby/internal/compiler_is/intel.h
  • Src/StdLib/include/ruby/internal/compiler_is/msvc.h
  • Src/StdLib/include/ruby/internal/compiler_is/sunpro.h
  • Src/StdLib/include/ruby/internal/compiler_since.h
  • Src/StdLib/include/ruby/internal/config.h
  • Src/StdLib/include/ruby/internal/constant_p.h
  • Src/StdLib/include/ruby/internal/core.h
  • Src/StdLib/include/ruby/internal/core/rarray.h
  • Src/StdLib/include/ruby/internal/core/rbasic.h
  • Src/StdLib/include/ruby/internal/core/rbignum.h
  • Src/StdLib/include/ruby/internal/core/rclass.h
  • Src/StdLib/include/ruby/internal/core/rdata.h
  • Src/StdLib/include/ruby/internal/core/rfile.h
  • Src/StdLib/include/ruby/internal/core/rhash.h
  • Src/StdLib/include/ruby/internal/core/rmatch.h
  • Src/StdLib/include/ruby/internal/core/robject.h
  • Src/StdLib/include/ruby/internal/core/rregexp.h
  • Src/StdLib/include/ruby/internal/core/rstring.h
  • Src/StdLib/include/ruby/internal/core/rstruct.h
  • Src/StdLib/include/ruby/internal/core/rtypeddata.h
  • Src/StdLib/include/ruby/internal/ctype.h
  • Src/StdLib/include/ruby/internal/dllexport.h
  • Src/StdLib/include/ruby/internal/dosish.h
  • Src/StdLib/include/ruby/internal/encoding/coderange.h
  • Src/StdLib/include/ruby/internal/encoding/ctype.h
  • Src/StdLib/include/ruby/internal/encoding/encoding.h
  • Src/StdLib/include/ruby/internal/encoding/pathname.h
  • Src/StdLib/include/ruby/internal/encoding/re.h
  • Src/StdLib/include/ruby/internal/encoding/sprintf.h
  • Src/StdLib/include/ruby/internal/encoding/string.h
  • Src/StdLib/include/ruby/internal/encoding/symbol.h
  • Src/StdLib/include/ruby/internal/encoding/transcode.h
  • Src/StdLib/include/ruby/internal/error.h
  • Src/StdLib/include/ruby/internal/eval.h
  • Src/StdLib/include/ruby/internal/event.h
  • Src/StdLib/include/ruby/internal/fl_type.h
  • Src/StdLib/include/ruby/internal/gc.h
  • Src/StdLib/include/ruby/internal/glob.h
  • Src/StdLib/include/ruby/internal/globals.h
  • Src/StdLib/include/ruby/internal/has/attribute.h
  • Src/StdLib/include/ruby/internal/has/builtin.h
  • Src/StdLib/include/ruby/internal/has/c_attribute.h
  • Src/StdLib/include/ruby/internal/has/cpp_attribute.h
  • Src/StdLib/include/ruby/internal/has/declspec_attribute.h
  • Src/StdLib/include/ruby/internal/has/extension.h
  • Src/StdLib/include/ruby/internal/has/feature.h
  • Src/StdLib/include/ruby/internal/has/warning.h
  • Src/StdLib/include/ruby/internal/intern/array.h
  • Src/StdLib/include/ruby/internal/intern/bignum.h
  • Src/StdLib/include/ruby/internal/intern/class.h
  • Src/StdLib/include/ruby/internal/intern/compar.h
  • Src/StdLib/include/ruby/internal/intern/complex.h
  • Src/StdLib/include/ruby/internal/intern/cont.h
  • Src/StdLib/include/ruby/internal/intern/dir.h
  • Src/StdLib/include/ruby/internal/intern/enum.h
  • Src/StdLib/include/ruby/internal/intern/enumerator.h
  • Src/StdLib/include/ruby/internal/intern/error.h
  • Src/StdLib/include/ruby/internal/intern/eval.h
  • Src/StdLib/include/ruby/internal/intern/file.h
  • Src/StdLib/include/ruby/internal/intern/hash.h
  • Src/StdLib/include/ruby/internal/intern/io.h
  • Src/StdLib/include/ruby/internal/intern/load.h
  • Src/StdLib/include/ruby/internal/intern/marshal.h
  • Src/StdLib/include/ruby/internal/intern/numeric.h
  • Src/StdLib/include/ruby/internal/intern/object.h
  • Src/StdLib/include/ruby/internal/intern/parse.h
  • Src/StdLib/include/ruby/internal/intern/proc.h
  • Src/StdLib/include/ruby/internal/intern/process.h
  • Src/StdLib/include/ruby/internal/intern/random.h
  • Src/StdLib/include/ruby/internal/intern/range.h
  • Src/StdLib/include/ruby/internal/intern/rational.h
  • Src/StdLib/include/ruby/internal/intern/re.h
  • Src/StdLib/include/ruby/internal/intern/ruby.h
  • Src/StdLib/include/ruby/internal/intern/select.h
  • Src/StdLib/include/ruby/internal/intern/select/largesize.h
  • Src/StdLib/include/ruby/internal/intern/select/posix.h
  • Src/StdLib/include/ruby/internal/intern/select/win32.h
  • Src/StdLib/include/ruby/internal/intern/set.h
  • Src/StdLib/include/ruby/internal/intern/signal.h
  • Src/StdLib/include/ruby/internal/intern/sprintf.h
  • Src/StdLib/include/ruby/internal/intern/string.h
  • Src/StdLib/include/ruby/internal/intern/struct.h
  • Src/StdLib/include/ruby/internal/intern/thread.h
  • Src/StdLib/include/ruby/internal/intern/time.h
  • Src/StdLib/include/ruby/internal/intern/variable.h
  • Src/StdLib/include/ruby/internal/intern/vm.h
  • Src/StdLib/include/ruby/internal/interpreter.h
  • Src/StdLib/include/ruby/internal/ironruby.h
  • Src/StdLib/include/ruby/internal/iterator.h
  • Src/StdLib/include/ruby/internal/memory.h
  • Src/StdLib/include/ruby/internal/method.h
  • Src/StdLib/include/ruby/internal/module.h
  • Src/StdLib/include/ruby/internal/newobj.h
  • Src/StdLib/include/ruby/internal/scan_args.h
  • Src/StdLib/include/ruby/internal/special_consts.h
  • Src/StdLib/include/ruby/internal/static_assert.h
  • Src/StdLib/include/ruby/internal/stdalign.h
  • Src/StdLib/include/ruby/internal/stdbool.h
  • Src/StdLib/include/ruby/internal/stdckdint.h
  • Src/StdLib/include/ruby/internal/symbol.h
  • Src/StdLib/include/ruby/internal/value.h
  • Src/StdLib/include/ruby/internal/value_type.h
  • Src/StdLib/include/ruby/internal/variable.h
  • Src/StdLib/include/ruby/internal/warning_push.h
  • Src/StdLib/include/ruby/internal/xmalloc.h
  • Src/StdLib/include/ruby/io.h
  • Src/StdLib/include/ruby/io/buffer.h
  • Src/StdLib/include/ruby/memory_view.h
  • Src/StdLib/include/ruby/missing.h
  • Src/StdLib/include/ruby/onigmo.h
  • Src/StdLib/include/ruby/oniguruma.h
  • Src/StdLib/include/ruby/ractor.h
  • Src/StdLib/include/ruby/random.h
  • Src/StdLib/include/ruby/re.h
  • Src/StdLib/include/ruby/regex.h
  • Src/StdLib/include/ruby/ruby.h
  • Src/StdLib/include/ruby/st.h
  • Src/StdLib/include/ruby/subst.h
  • Src/StdLib/include/ruby/thread.h
  • Src/StdLib/include/ruby/thread_native.h
  • Src/StdLib/include/ruby/util.h
  • Src/StdLib/include/ruby/version.h
  • Src/StdLib/include/ruby/vm.h
  • Src/StdLib/include/ruby/win32.h
  • Src/StdLib/include/x64-mingw-ucrt/ruby/config.h
  • Src/StdLib/include/x86_64-linux/ruby/config.h
  • Src/StdLib/ironruby/mkmf.rb
  • Src/StdLib/ironruby/rbconfig.rb
  • Src/StdLib/ruby/4.0/rubygems/defaults/ironruby.rb
  • Util/build-capi.sh
  • Util/capi/generate.rb
  • Util/capi/import-headers.rb
  • Util/capi/prototypes.rb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Review on demand using usage pricing
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Largo
Largo merged commit cab0d55 into master Nov 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant