-
Notifications
You must be signed in to change notification settings - Fork 117
Introduce feature to only allow initialization once. #447
Conversation
@bors-servo r+ |
📌 Commit 2ccdca9 has been approved by |
Introduce feature to only allow initialization once. See #22039 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/447) <!-- Reviewable:end -->
(Just help to reference the issue correctly) |
@@ -2,7 +2,7 @@ | |||
name = "mozjs" | |||
description = "Rust bindings to the Mozilla SpiderMonkey JavaScript engine." | |||
repository = "https://github.com/servo/rust-mozjs" | |||
version = "0.9.3" | |||
version = "0.9.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
☀️ Test successful - status-appveyor, status-travis |
Hmm, @paulrouget can you see 9d5d8a9 in the PR? Btw, |
Can't see the commit here: https://github.com/servo/rust-mozjs/commits/master/Cargo.toml but I see it here: https://github.com/servo/rust-mozjs/commits/master Anyway. Gonna bump to 0.9.5 and publish. |
Why not use |
Cc @asajeffrey, who reverted most of 066b4ab when he updated to SM 60 in #430. |
From SpiderMonkey's own documentation:
|
It is specific to the way that we're using Servo inside Firefox Reality. The feature simply prevents us from calling shut down; it doesn't actually change how many times we initialize the library. |
Hmm, might be worth finding another name for the feature? It seems to be more about shutdown than init, perhaps |
I have an open pull request that removes it entirely. |
See #22039
This change is