Skip to content

Conversation

@bnoordhuis
Copy link
Collaborator

Removes context.idle_notification because the V8 API it uses has been removed with no real replacement.

V8 suggests to use Isolate::MemoryPressureNotification() instead but that's not really the same thing and overlaps significantly with context.low_memory_notification.

Remove the stale object marshalling section from the README.


Needs a libv8-node release from its node-23 branch first

Removes context.idle_notification because the V8 API it uses has been
removed with no real replacement.

V8 suggests to use Isolate::MemoryPressureNotification() instead
but that's not really the same thing and overlaps significantly
with context.low_memory_notification.

Remove the stale object marshalling section from the README.
$CXXFLAGS += " -rdynamic" unless $CXXFLAGS.split.include? "-rdynamic"
$CXXFLAGS += " -fPIC" unless $CXXFLAGS.split.include? "-rdynamic" or IS_DARWIN
$CXXFLAGS += " -std=c++17"
$CXXFLAGS += " -std=c++20"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to update the README for compiler requirements too? https://github.com/rubyjs/mini_racer?tab=readme-ov-file#installation

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, those are way out of date. Updated with the compiler recommendations from node's BUILDING.md

@SamSaffron
Copy link
Collaborator

any ideas why all the tests are failing? I think it is struggling with bundle for some reason.

@bnoordhuis
Copy link
Collaborator Author

@SamSaffron

Could not find gem 'libv8-node (~> 23.6.1.0)', which is required by gem

You can do libv8-node releases now, right? If you make one, I'll restart CI and things should - fingers crossed - be green.

@SamSaffron
Copy link
Collaborator

SamSaffron commented Feb 5, 2025 via email

@SamSaffron SamSaffron merged commit 69b8f17 into rubyjs:main Feb 6, 2025
0 of 32 checks passed
bnoordhuis added a commit to bnoordhuis/mini_racer that referenced this pull request Mar 13, 2025
* Update to V8 12.9

Removes context.idle_notification because the V8 API it uses has been
removed with no real replacement.

V8 suggests to use Isolate::MemoryPressureNotification() instead
but that's not really the same thing and overlaps significantly
with context.low_memory_notification.

Remove the stale object marshalling section from the README.

* squash! update compiler req
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.

3 participants