mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
This commit is contained in:
parent
65d4b12bf2
commit
5f15eb5fbf
140 changed files with 1420 additions and 1222 deletions
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![feature(env, os)]
|
||||
#![feature(env, os, start)]
|
||||
|
||||
#[cfg(target_os="android")]
|
||||
extern crate libc;
|
||||
|
@ -41,7 +41,7 @@ use std::borrow::ToOwned;
|
|||
|
||||
#[cfg(not(test))]
|
||||
struct BrowserWrapper {
|
||||
browser: Browser<app::window::Window>,
|
||||
browser: Browser,
|
||||
}
|
||||
|
||||
#[cfg(target_os="android")]
|
||||
|
@ -58,7 +58,7 @@ fn get_args() -> Vec<String> {
|
|||
#[cfg(not(target_os="android"))]
|
||||
fn get_args() -> Vec<String> {
|
||||
use std::env;
|
||||
env::args().map(|s| s.into_string().unwrap()).collect()
|
||||
env::args().collect()
|
||||
}
|
||||
|
||||
#[cfg(target_os="android")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue