Use unified mozjs build.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-06-03 14:55:57 -05:00
parent 8937542fe3
commit eb675865e8
2 changed files with 7 additions and 3 deletions

6
Cargo.lock generated
View file

@ -4692,7 +4692,7 @@ dependencies = [
[[package]] [[package]]
name = "mozjs" name = "mozjs"
version = "0.14.1" version = "0.14.1"
source = "git+https://github.com/servo/mozjs#728acdf3d4ce0604e9f75dd1d539dc6f291ccec7" source = "git+https://github.com/redfire75369/mozjs?branch=build%2Funified#c195b8a1fa4b1b2dcecab2c9fc605469e5f181c0"
dependencies = [ dependencies = [
"bindgen 0.71.1", "bindgen 0.71.1",
"cc", "cc",
@ -4703,8 +4703,8 @@ dependencies = [
[[package]] [[package]]
name = "mozjs_sys" name = "mozjs_sys"
version = "0.128.9-2" version = "0.128.9-3"
source = "git+https://github.com/servo/mozjs#728acdf3d4ce0604e9f75dd1d539dc6f291ccec7" source = "git+https://github.com/redfire75369/mozjs?branch=build%2Funified#c195b8a1fa4b1b2dcecab2c9fc605469e5f181c0"
dependencies = [ dependencies = [
"bindgen 0.71.1", "bindgen 0.71.1",
"cc", "cc",

View file

@ -210,6 +210,10 @@ debug = true
lto = "thin" lto = "thin"
codegen-units = 1 codegen-units = 1
[patch."https://github.com/servo/mozjs"]
mozjs = { git = "https://github.com/redfire75369/mozjs", branch = "build/unified" }
mozjs_sys = { git = "https://github.com/redfire75369/mozjs", branch = "build/unified" }
[patch.crates-io] [patch.crates-io]
# If you need to temporarily test Servo with a local fork of some upstream # If you need to temporarily test Servo with a local fork of some upstream
# crate, add that here. Use the form: # crate, add that here. Use the form: