Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to V8 12.9 #342

Merged
merged 2 commits into from
Feb 6, 2025
Merged

Update to V8 12.9 #342

merged 2 commits into from
Feb 6, 2025

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.
@@ -19,7 +19,7 @@
$CXXFLAGS += " -g" unless $CXXFLAGS.split.include? "-g"
$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
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