mirror of
https://github.com/servo/servo
synced 2026-05-02 20:32:02 +02:00
Bump rust-mozjs for the safe Runtime::new (fixes #11512)
This commit is contained in:
@@ -521,7 +521,7 @@ impl ScriptThread {
|
||||
port: Receiver<MainThreadScriptMsg>,
|
||||
chan: Sender<MainThreadScriptMsg>)
|
||||
-> ScriptThread {
|
||||
let runtime = unsafe { new_rt_and_cx(ptr::null_mut()) };
|
||||
let runtime = unsafe { new_rt_and_cx() };
|
||||
|
||||
unsafe {
|
||||
JS_SetWrapObjectCallbacks(runtime.rt(),
|
||||
|
||||
Reference in New Issue
Block a user