Skip to content

Commit

Permalink
Initial ruby 3.3.0 support. Fixes #327
Browse files Browse the repository at this point in the history
  • Loading branch information
cfis committed Jan 7, 2024
1 parent 3f088ea commit 63a542f
Show file tree
Hide file tree
Showing 12 changed files with 4,665 additions and 3,189 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: ['2.7', '3.0', '3.1', '3.2']
ruby: ['3.0', '3.1', '3.2', '3.3']
include:
- { os: windows-latest , ruby: mswin }
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion ext/ruby_prof/rp_method.c
Expand Up @@ -21,7 +21,7 @@ VALUE resolve_klass(VALUE klass, unsigned int* klass_flags)
{
/* We have come across a singleton object. First
figure out what it is attached to.*/
VALUE attached = rb_iv_get(klass, "__attached__");
VALUE attached = rb_class_attached_object(klass);

switch (BUILTIN_TYPE(attached))
{
Expand Down

0 comments on commit 63a542f

Please sign in to comment.