diff --git a/Cargo.lock b/Cargo.lock index 51bb4fabb48..e9e865c7d2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3954,6 +3954,7 @@ dependencies = [ [[package]] name = "mozjs" version = "0.14.1" +source = "git+https://github.com/servo/mozjs#f87705d61015bf1646b33f33664da51f31b23b74" dependencies = [ "cc", "lazy_static", @@ -3966,6 +3967,7 @@ dependencies = [ [[package]] name = "mozjs_sys" version = "0.68.2" +source = "git+https://github.com/servo/mozjs#f87705d61015bf1646b33f33664da51f31b23b74" dependencies = [ "bindgen 0.62.0", "cc", diff --git a/Cargo.toml b/Cargo.toml index eca471744e2..63496aed8a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,11 +34,6 @@ winit = { git = "https://github.com/rust-windowing/winit.git", rev = "4192d04a53 [patch."https://github.com/jrmuizel/raqote"] raqote = { git = "https://github.com/jdm/raqote", branch = "fkup" } -[patch."https://github.com/servo/mozjs"] -mozjs_sys = { path = "../mozjs/mozjs" } -[patch."https://github.com/servo/rust-mozjs"] -mozjs = { path = "../mozjs/rust-mozjs" } - # https://github.com/servo/servo/issues/27515#issuecomment-671474054 [patch."https://github.com/servo/webrender"] webrender = { git = "https://github.com/jdm/webrender", branch = "crash-backtrace" } diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index 85b566c0580..b6aabb0d88d 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -62,7 +62,7 @@ image = "0.24" indexmap = { version = "1.0.2", features = ["std"] } ipc-channel = "0.14" itertools = "0.8" -js = { package = "mozjs", git = "https://github.com/servo/rust-mozjs" } +js = { package = "mozjs", git = "https://github.com/servo/mozjs" } jstraceable_derive = { path = "../jstraceable_derive" } keyboard-types = "0.6" lazy_static = "1"