mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Cargo updates and small workqueue change
This commit is contained in:
parent
5b845cbf79
commit
095658e098
3 changed files with 21 additions and 3 deletions
|
@ -84,7 +84,7 @@ servo-fontconfig = "0.2"
|
|||
[target.arm-linux-androideabi.dependencies]
|
||||
servo-fontconfig = "0.2"
|
||||
|
||||
[target.x86_64-pc-windows-gnu.dependencies.fontconfig]
|
||||
[target.x86_64-pc-windows-gnu.dependencies.servo-fontconfig]
|
||||
git = "https://github.com/servo/rust-fontconfig"
|
||||
|
||||
[target.i686-unknown-linux-gnu.dependencies.freetype]
|
||||
|
|
19
components/servo/Cargo.lock
generated
19
components/servo/Cargo.lock
generated
|
@ -899,6 +899,15 @@ dependencies = [
|
|||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "kernel32-sys"
|
||||
version = "0.1.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "kernel32-sys"
|
||||
version = "0.2.1"
|
||||
|
@ -1637,6 +1646,15 @@ dependencies = [
|
|||
"libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "servo-fontconfig"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/rust-fontconfig#0dd4c4496295ac58ef2f8248d896b19a369767d4"
|
||||
dependencies = [
|
||||
"libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"servo-fontconfig-sys 2.11.2-really.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "servo-fontconfig"
|
||||
version = "0.2.0"
|
||||
|
@ -1961,6 +1979,7 @@ dependencies = [
|
|||
"hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
||||
"js 0.1.1 (git+https://github.com/servo/rust-mozjs)",
|
||||
"kernel32-sys 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"layers 0.2.0 (git+https://github.com/servo/rust-layers)",
|
||||
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -11,9 +11,8 @@
|
|||
extern crate kernel32;
|
||||
|
||||
use deque::{Abort, BufferPool, Data, Empty, Stealer, Worker};
|
||||
use libc::usleep;
|
||||
#[cfg(not(windows))]
|
||||
use libc::funcs::posix88::unistd::usleep;
|
||||
use libc::usleep;
|
||||
use rand::{Rng, XorShiftRng, weak_rng};
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
use std::sync::mpsc::{Receiver, Sender, channel};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue