Bump moonrun to rusty_v8 150.4.0 - #1471
Draft
peter-jerry-ye wants to merge 1 commit into
Draft
Conversation
peter-jerry-ye
force-pushed
the
zihang/bump-v8
branch
from
July 31, 2026 07:32
75ffe45 to
56ba367
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR bumps
moonrunfromrusty_v80.106.0 to 150.4.0 and migrates the runtime to the pinned scope API required by currentrusty_v8.It also:
Instantand RNG allocation until runtime shutdown;Motivation
The existing dependency is substantially behind current V8 releases. Updating brings current V8 and Wasm behavior and published prebuilt libraries for additional targets, including Windows ARM64.
Correctness
Callback functions now receive
PinScope, and nested scope construction follows the new pinned initialization API. Weak handles use the active callback scope directly; retrieving another mutable isolate reference while that scope is active would violate the new API's safety contract.The regression fixture exercises 100,000
Instantand RNG externref allocations so both garbage-collection and isolate-teardown finalization paths are covered.Trade-off
The arm64 macOS release binary grows from 28,808,800 bytes to 45,703,744 bytes, an increase of 58.65%. Most of the additional dependency and binary footprint comes from the Temporal/ICU stack now required by
rusty_v8.The PR remains a draft while we decide whether the newer V8 support justifies this distribution-size increase.
Scope
The implementation is limited to the
moonrundependency, the API migration required by that dependency, and the focused finalizer regression test. It does not changemoonrun's public CLI or intended runtime behavior.