Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oxidize-rb/rb-sys
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.9.123
Choose a base ref
...
head repository: oxidize-rb/rb-sys
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.9.124
Choose a head ref
  • 5 commits
  • 29 files changed
  • 5 contributors

Commits on Jan 5, 2026

  1. Remove wrong tests violating the precondition and the assertion (#688)

    * Remove wrong tests violating the precondition
    
    The precondition of `RTYPEDDATA_P` is the argument is `RUBY_T_DATA`.
    
    https://github.com/ruby/ruby/blob/ruby_3_1/include/ruby/internal/core/rtypeddata.h#L537
    ```
     * @pre        `obj` must be a Ruby object of ::RUBY_T_DATA.
    ```
    
    Must not call with non-data object, such as `Object` or `String`.
    
    * feat: update to Ruby 4.0 release
    nobu authored Jan 5, 2026
    Configuration menu
    Copy the full SHA
    4d6f86d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bfd366d View commit details
    Browse the repository at this point in the history
  3. Bump .ruby-version to 4.0.0; update bindings & locks (#695)

    * Bump Ruby to 4.0.0; update bindings & locks
    
    Update .ruby-version to Ruby 4.0.0. Add bindgen blocklist entries for
    INET_PORT_RESERVATION_INSTANCE and PINET_PORT_RESERVATION_INSTANCE to
    avoid generating bindings for those types. Refresh flake.lock with
    updated nixpkgs, nixpkgs-ruby and rust-overlay revisions/hashes.
    
    * Fix Windows MinGW bindgen issues
    
    - Blocklist INET_PORT_RESERVATION_INSTANCE and PINET_PORT_RESERVATION_INSTANCE
      which have incorrect size detection on Windows MinGW
    - Disable layout tests and Debug impl for all Windows MinGW builds due to
      packed struct layout incompatibilities (affects Ruby 2.7+, 3.x, 4.x)
    ianks authored Jan 5, 2026
    Configuration menu
    Copy the full SHA
    785bf82 View commit details
    Browse the repository at this point in the history
  4. ✨ feat: add Ruby 4.1 version support for ruby-head compatibility (#697)

    Ruby 4.1 (ruby-head) introduces breaking C API changes that require
    conditional compilation in dependent crates. This adds 4.1 to the
    supported version arrays to enable ruby_lt_4_1, ruby_gte_4_1, and
    related cfg flags.
    
    Changes:
    - Add Version::new(4, 1) to SUPPORTED_RUBY_VERSIONS in rb-sys
    - Add (4, 0) and (4, 1) to COMPARABLE_RUBY_MINORS in rb-sys-env
    
    This enables crates like magnus to handle the rb_data_type_struct
    change where 'reserved' was replaced with 'handle_weak_references'.
    
    Closes #696
    pboling authored Jan 5, 2026
    Configuration menu
    Copy the full SHA
    44cb572 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8b83697 View commit details
    Browse the repository at this point in the history
Loading