Fix Cargo.toml instructions for building Servo with a local Stylo (#35957)

And bump Stylo to servo/stylo#143

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-03-13 13:44:40 +01:00 committed by GitHub
parent 294a649a6c
commit 4a9967725f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 16 deletions

24
Cargo.lock generated
View file

@ -4474,7 +4474,7 @@ dependencies = [
[[package]] [[package]]
name = "malloc_size_of" name = "malloc_size_of"
version = "0.0.1" version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"app_units", "app_units",
"cssparser", "cssparser",
@ -6498,7 +6498,7 @@ dependencies = [
[[package]] [[package]]
name = "selectors" name = "selectors"
version = "0.26.0" version = "0.26.0"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.0",
"cssparser", "cssparser",
@ -6783,7 +6783,7 @@ dependencies = [
[[package]] [[package]]
name = "servo_arc" name = "servo_arc"
version = "0.4.0" version = "0.4.0"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"serde", "serde",
"stable_deref_trait", "stable_deref_trait",
@ -7215,7 +7215,7 @@ dependencies = [
[[package]] [[package]]
name = "style" name = "style"
version = "0.0.1" version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"app_units", "app_units",
"arrayvec", "arrayvec",
@ -7273,7 +7273,7 @@ dependencies = [
[[package]] [[package]]
name = "style_derive" name = "style_derive"
version = "0.0.1" version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"darling", "darling",
"proc-macro2", "proc-macro2",
@ -7303,7 +7303,7 @@ dependencies = [
[[package]] [[package]]
name = "style_traits" name = "style_traits"
version = "0.0.1" version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"app_units", "app_units",
"bitflags 2.9.0", "bitflags 2.9.0",
@ -7325,7 +7325,7 @@ dependencies = [
[[package]] [[package]]
name = "stylo_atoms" name = "stylo_atoms"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"string_cache", "string_cache",
"string_cache_codegen", "string_cache_codegen",
@ -7334,12 +7334,12 @@ dependencies = [
[[package]] [[package]]
name = "stylo_config" name = "stylo_config"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
[[package]] [[package]]
name = "stylo_dom" name = "stylo_dom"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"bitflags 2.9.0", "bitflags 2.9.0",
"malloc_size_of", "malloc_size_of",
@ -7348,7 +7348,7 @@ dependencies = [
[[package]] [[package]]
name = "stylo_static_prefs" name = "stylo_static_prefs"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
[[package]] [[package]]
name = "subtle" name = "subtle"
@ -7715,7 +7715,7 @@ dependencies = [
[[package]] [[package]]
name = "to_shmem" name = "to_shmem"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"cssparser", "cssparser",
"servo_arc", "servo_arc",
@ -7728,7 +7728,7 @@ dependencies = [
[[package]] [[package]]
name = "to_shmem_derive" name = "to_shmem_derive"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2025-03-11#3c39c913c848eac591f4412243acbdf86439e0e1" source = "git+https://github.com/servo/stylo?branch=2025-03-11#7ee9643e7ff1633c709f4ffd683050eb3c726ec9"
dependencies = [ dependencies = [
"darling", "darling",
"proc-macro2", "proc-macro2",

View file

@ -216,12 +216,10 @@ codegen-units = 1
# [patch."https://github.com/servo/stylo"] # [patch."https://github.com/servo/stylo"]
# selectors = { path = "../stylo/selectors" } # selectors = { path = "../stylo/selectors" }
# servo_arc = { path = "../stylo/servo_arc" } # servo_arc = { path = "../stylo/servo_arc" }
# stylo_atoms = { path = "../stylo/atoms" } # stylo_atoms = { path = "../stylo/stylo_atoms" }
# static_prefs = { path = "../stylo/style_static_prefs" }
# style = { path = "../stylo/style" } # style = { path = "../stylo/style" }
# stylo_config = { path = "../stylo/stylo_config" } # stylo_config = { path = "../stylo/stylo_config" }
# style_derive = { path = "../stylo/style_derive" } # stylo_dom = { path = "../stylo/stylo_dom" }
# stylo_dom = { path = "../stylo/dom", package = "dom" }
# style_malloc_size_of = { path = "../stylo/malloc_size_of", package = "malloc_size_of" } # style_malloc_size_of = { path = "../stylo/malloc_size_of", package = "malloc_size_of" }
# style_traits = { path = "../stylo/style_traits" } # style_traits = { path = "../stylo/style_traits" }
# #