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.
Here's my first attempt to upgrade to spider monkey 109. But there are some issues I might need some advice, so I keep it as a draft for now. Only
mozjs-sys
has been built and tested on Linux, macOS, and Windows.On Windows, there are some new config checks need
MOZILLABUILD
env variable. But I couldn't figure out why it didn't call itsmach_initialize
to set it. The easiest way is to set it manually like$env:MOZILLABUILD="C:\mozilla-build"
for example. Could we add this in CI?JS Streams have been removed. I removed the bindings in sys crate as well, but not
rust-mozjs
. Servo's dom implementation is going to be affected too. I'm not sure what I should do starting from here. Could we also remove all bindings and implementation?