diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-27 10:47:00 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-27 10:47:00 +0530 |
commit | f13c72d68e1e7f49e241938bfd6e8a588c68e86b (patch) | |
tree | 5a4f80662d4c7b5b18adc49a325015e971380225 /components/servo/main.rs | |
parent | bc618b0d535e0e67a7ea845c026678113f000d64 (diff) | |
parent | dc0e467945e7fb8eaf93f9e40e7ebcb2d5f52b0c (diff) | |
download | servo-f13c72d68e1e7f49e241938bfd6e8a588c68e86b.tar.gz servo-f13c72d68e1e7f49e241938bfd6e8a588c68e86b.zip |
Auto merge of #8446 - servo:rustup_20151110, r=SimonSapin+Ms2ger+jdm+Manishearth
Rust upgrade to rustc 1.6.0-nightly (5b4986fa5 2015-11-08)
<s>DO NOT r+ or try+ this</s>
<s>It causes an OOM (https://github.com/rust-lang/rust/issues/29740) and can crash the OS. Probably will set our CI on fire. </s>
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8446)
<!-- Reviewable:end -->
Diffstat (limited to 'components/servo/main.rs')
-rw-r--r-- | components/servo/main.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/servo/main.rs b/components/servo/main.rs index 437df310832..3c17be5503d 100644 --- a/components/servo/main.rs +++ b/components/servo/main.rs @@ -229,7 +229,7 @@ mod android { use std::borrow::ToOwned; pub fn setup_logging() { - use self::libc::consts::os::posix88::{STDERR_FILENO, STDOUT_FILENO}; + use self::libc::{STDERR_FILENO, STDOUT_FILENO}; //use std::env; //env::set_var("RUST_LOG", "servo,gfx,msg,util,layers,js,std,rt,extra"); @@ -239,14 +239,14 @@ mod android { unsafe { super::app_dummy(); } } - struct FilePtr(*mut self::libc::types::common::c95::FILE); + struct FilePtr(*mut self::libc::FILE); unsafe impl Send for FilePtr {} fn redirect_output(file_no: c_int) { - use self::libc::funcs::c95::stdio::fgets; - use self::libc::funcs::posix88::stdio::fdopen; - use self::libc::funcs::posix88::unistd::{pipe, dup2}; + use self::libc::fdopen; + use self::libc::fgets; + use self::libc::{pipe, dup2}; use servo::util::task::spawn_named; use std::ffi::CStr; use std::ffi::CString; |