Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Deduplicate parking_lot and friends by updating it to 0.9
  • Loading branch information
Eijebong committed Sep 5, 2019
1 parent 4f4e219 commit b6cddbe
Show file tree
Hide file tree
Showing 10 changed files with 155 additions and 196 deletions.
329 changes: 146 additions & 183 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/background_hang_monitor/sampler.rs
Expand Up @@ -30,7 +30,7 @@ impl Sampler for DummySampler {

// Several types in this file are currently not used in a Linux or Windows build.
#[allow(dead_code)]
pub type Address = *const libc::uint8_t;
pub type Address = *const u8;

/// The registers used for stack unwinding
#[allow(dead_code)]
Expand Down
2 changes: 1 addition & 1 deletion components/layout/Cargo.toml
Expand Up @@ -34,7 +34,7 @@ msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
num-traits = "0.2"
ordered-float = "1.0"
parking_lot = "0.8"
parking_lot = "0.9"
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
rayon = "1"
Expand Down
2 changes: 1 addition & 1 deletion components/layout_thread/Cargo.toml
Expand Up @@ -33,7 +33,7 @@ malloc_size_of = { path = "../malloc_size_of" }
metrics = {path = "../metrics"}
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
parking_lot = {version = "0.8", features = ["nightly"]}
parking_lot = { version = "0.9", features = ["nightly"] }
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
rayon = "1"
Expand Down
2 changes: 1 addition & 1 deletion components/layout_thread_2020/Cargo.toml
Expand Up @@ -33,7 +33,7 @@ malloc_size_of = { path = "../malloc_size_of" }
metrics = {path = "../metrics"}
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
parking_lot = {version = "0.8", features = ["nightly"]}
parking_lot = { version = "0.9", features = ["nightly"] }
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
rayon = "1"
Expand Down
2 changes: 1 addition & 1 deletion components/msg/Cargo.toml
Expand Up @@ -17,7 +17,7 @@ lazy_static = "1"
ipc-channel = "0.12"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
parking_lot = "0.8"
parking_lot = "0.9"
serde = "1.0.60"
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}

Expand Down
2 changes: 1 addition & 1 deletion components/script/Cargo.toml
Expand Up @@ -78,7 +78,7 @@ mime_guess = "2.0.0-alpha.6"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
num-traits = "0.2"
parking_lot = "0.8"
parking_lot = "0.9"
percent-encoding = "2.0"
phf = "0.7"
pixels = {path = "../pixels"}
Expand Down
2 changes: 1 addition & 1 deletion components/style/Cargo.toml
Expand Up @@ -56,7 +56,7 @@ num-traits = "0.2"
num-derive = "0.2"
ordered-float = "1.0"
owning_ref = "0.4"
parking_lot = "0.8"
parking_lot = "0.9"
precomputed-hash = "0.1.1"
rayon = "1"
selectors = { path = "../selectors" }
Expand Down
4 changes: 2 additions & 2 deletions ports/libsimpleservo/api/src/gl_glue.rs
Expand Up @@ -15,9 +15,9 @@ pub mod egl {

pub type EGLNativeWindowType = *const libc::c_void;
pub type khronos_utime_nanoseconds_t = khronos_uint64_t;
pub type khronos_uint64_t = libc::uint64_t;
pub type khronos_uint64_t = u64;
pub type khronos_ssize_t = libc::c_long;
pub type EGLint = libc::int32_t;
pub type EGLint = i32;
pub type EGLContext = *const libc::c_void;
pub type EGLNativeDisplayType = *const libc::c_void;
pub type EGLNativePixmapType = *const libc::c_void;
Expand Down
4 changes: 0 additions & 4 deletions servo-tidy.toml
Expand Up @@ -35,14 +35,10 @@ rand = [
# Ignored packages with duplicated versions
packages = [
"gl_generator", # https://github.com/servo/servo/pull/23288#issuecomment-494687746
"lock_api",
"nix", # https://github.com/servo/servo/issues/23189#issuecomment-487512605
"parking_lot",
"parking_lot_core",
"proc-macro2",
"quote",
"rand_core",
"scopeguard",
"syn",
"unicode-xid",
]
Expand Down

0 comments on commit b6cddbe

Please sign in to comment.