mirror of
https://github.com/servo/servo.git
synced 2025-06-19 14:48:59 +01:00
Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)
… and libc 0.2 and many other dependencies
This commit is contained in:
parent
bc618b0d53
commit
dc0e467945
59 changed files with 1092 additions and 978 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue