diff --git a/ports/geckolib/Cargo.toml b/ports/geckolib/Cargo.toml index 082808a713a7..fd8b77ce6978 100644 --- a/ports/geckolib/Cargo.toml +++ b/ports/geckolib/Cargo.toml @@ -22,7 +22,11 @@ log = {version = "0.3.5", features = ["release_max_level_info"]} malloc_size_of = {path = "../../components/malloc_size_of"} nsstring_vendor = {path = "../../components/style/gecko_bindings/nsstring_vendor"} parking_lot = "0.4" -selectors = {path = "../../components/selectors"} +# Turn on gecko_like_types because of so that crates which use this +# crate and also dev-depend on stylo_tests get reasonable behavior +# during rebuilds. See https://github.com/rust-lang/cargo/issues/3923 +# for the cargo problem behind this. +selectors = {path = "../../components/selectors", features = ["gecko_like_types"]} servo_arc = {path = "../../components/servo_arc"} style = {path = "../../components/style", features = ["gecko"]} style_traits = {path = "../../components/style_traits"}