You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 12, 2022. It is now read-only.
RootedGuard<'_, T> requires that T implement mozjs_sys::jsgc::RootKind.
This issues involves exporting mozjs_sys::jsgc::* in mozjs.
Reason
Currently, I am unable to create a generic function that does this as this struct is not exported by mozjs. This will be useful for creating utility functions to set a value without requiring you to manually convert it using ToJSValConvertible.
Implementation Code
// src/lib.rspubuse mozjs_sys::jsgc;
The text was updated successfully, but these errors were encountered:
It is possible to depend on both simultaneously, but due to mozjs depending mozjs_sys as well, you have to specify the exact commit of mozjs_sys that your current version of mozjs uses. This means it is more difficult and inconvenient to update mozjs.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
RootedGuard<'_, T>
requires that T implementmozjs_sys::jsgc::RootKind
.This issues involves exporting
mozjs_sys::jsgc::*
inmozjs
.Reason
Currently, I am unable to create a generic function that does this as this struct is not exported by
mozjs
. This will be useful for creating utility functions to set a value without requiring you to manually convert it usingToJSValConvertible
.Implementation Code
The text was updated successfully, but these errors were encountered: