mozjs
mozjs copied to clipboard
Servo's SpiderMonkey fork
Right now we have 3 static library in mozjs: `libmozjs.a`, `libjsglue.a` for mozjs/mozjs-sys glue code and `libjsglue.a` for mozjs/mozjs glue code. we are trying to have shared object instead. See...
This is an experiment. --- This change is [](https://reviewable.io/reviews/servo/mozjs/179)
The package on crates.io is quite old: https://crates.io/crates/mozjs Maybe an update would make sense?
[Actual Signature](https://doc.servo.org/mozjs/jsapi/fn.JS_DeletePropertyById1.html): ```rs pub unsafe extern "C" fn JS_DeletePropertyById1(cx: *mut JSContext, obj: Handle, id: PropertyKey) -> bool ``` [Expected Signature](https://searchfox.org/mozilla-esr91/source/js/src/jsapi.cpp#2688): ```cpp bool JS_DeletePropertyById(JSContext* cx, HandleObject obj, HandleId id); ``` Expected...
Not exactly an issue but if anyone encounters error messages like `type_traits` not found when building mozjs, it's probably because you need to install newer version of libstdc++. As of...
Currently, [`Heap`](https://doc.servo.org/mozjs_sys/jsgc/struct.Heap.html) effectively duplicates pinning requirements with its own set of rules. This issue proposes a change to use [`Pin`](https://doc.rust-lang.org/std/pin/struct.Pin.html?search=pin!#method.new_unchecked). Although `Pin` is more nested than the current `Box`, it...
I decided to try building Servo with the MinGW I had installed. Not surprisingly, even with hacks and running some commands manually, it hasn't gone very well yet, but that...
We can support alternative SDKs by following https://github.com/servo/servo/issues/28244#issuecomment-865426757, so we should document that somewhere permanent and update the error message to link people there.
failed to build on windows 10 ``` --- stderr Reticulating splines... Finished reading 60 moz.build files in 0.09s Read 0 gyp files in parallel contributing 0.00s to total wall time...
In https://github.com/servo/mozjs/pull/246 I tried to fix this and it seemed ok when building from this repository. But somehow building in Servo even after https://github.com/servo/servo/pull/26294 still has this bug: ```rust $...