Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)

… and libc 0.2 and many other dependencies
This commit is contained in:
Manish Goregaokar 2015-11-07 22:40:18 +05:30 committed by Josh Matthews
parent bc618b0d53
commit dc0e467945
59 changed files with 1092 additions and 978 deletions

View file

@ -30,8 +30,8 @@ path = "../../../components/devtools_traits"
git = "https://github.com/servo/ipc-channel"
[dependencies]
cookie = "0.1"
hyper = "0.6"
url = "0.2"
cookie = "0.2"
hyper = "0.7"
url = "0.5"
time = "0.1"
flate2 = "0.2.0"

View file

@ -11,5 +11,5 @@ doctest = false
[dependencies.plugins]
path = "../../../components/plugins"
[dependencies.url]
version = "0.2.36"
[dependencies]
url = "0.5"

View file

@ -22,7 +22,7 @@ path = "../../../components/util"
[dependencies]
app_units = {version = "0.1", features = ["plugins"]}
url = "0.2"
url = "0.5"
cssparser = "0.4"
selectors = "0.2"
string_cache = "0.2"

View file

@ -17,6 +17,6 @@ path = "../../../components/plugins"
[dependencies]
app_units = {version = "0.1", features = ["plugins"]}
libc = "0.1"
libc = "0.2"
euclid = {version = "0.3", features = ["plugins"]}

View file

@ -66,11 +66,6 @@ fn test_heap_size() {
// An ascii string with 16 chars is 16 bytes in UTF-8.
assert_eq!(String::from("0123456789abcdef").heap_size_of_children(), 16);
// … but RawVec::reserve gives twice the requested capacity.
let mut x = String::new();
x.push_str("0123456789abcdef");
assert_eq!(x.heap_size_of_children(), 32);
// Not on the heap.
let x: Option<i32> = None;
assert_eq!(x.heap_size_of_children(), 0);