-
Notifications
You must be signed in to change notification settings - Fork 117
Better documentation #436
Comments
Yeah, our documentation builds have been failing for some time so they haven't caught up to the most recent mammoth upgrade to this crate. |
Ah. Could you describe what changed? Also, are there higher level ways of
doing things like exposing rust functions to js?
…On Wed, Aug 22, 2018 at 9:33 PM Josh Matthews ***@***.***> wrote:
Yeah, our documentation builds have been failing for some time so they
haven't caught up to the most recent mammoth upgrade to this crate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#436 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APtXmnovEz6kf7vGUKQIaSnrf42hUlXKks5uTV22gaJpZM4WHep_>
.
|
We upgraded from a version of SpiderMonkey that was two years old. A huge amount changed, unfortunately. |
@jdm does Servo or any other Mozilla project use this internally? I'm trying to find out how to easily expose functions and objects to js, so examples of how this is used would be great. |
I think the unit tests in this repository might be enough to get you started, however. |
Also, we fixed our documentation builds so the link in the readme is once more accurate and up to date. |
Hi, I'm trying to create a function that returns the result of compiling a script using
Do I need to keep both I'll need to execute these scripts later.
If there's a better forum for these questions such as a mailing list, let me know. |
Also, how do you store a RootGuard for the global object in a struct to prevent garbage collection? The global is created with
Attempting to store |
Hi,
I've just started learning how to use these bindings, and a lot of what I learnt was purely from reading the tests. Having at least the methods in the rust module documented would be really helpful, together with tutorials for getting started.
For example, the runtime struct appears to do JS_Init, the creation of the runtime and also assigning a context to it, which I investigated because the latest version of this crate was missing bindings to the JS_NewRuntime and JS_DestroyRuntime functions. These functions show up on the documentation link but not in the latest version of the crate.
The text was updated successfully, but these errors were encountered: