Auto merge of #49661 - alexcrichton:bump-bootstrap, r=nikomatsakis

Bump the bootstrap compiler to 1.26.0 beta

Holy cow that's a lot of `cfg(stage0)` removed and a lot of new stable language
features!
This commit is contained in:
bors 2018-04-07 11:58:38 +00:00
commit 8c2d7b2da3
39 changed files with 18 additions and 175 deletions

View file

@ -114,8 +114,7 @@
//! also check out the `src/bootstrap/README.md` file for more information.
#![deny(warnings)]
#![feature(conservative_impl_trait, fs_read_write, core_intrinsics)]
#![feature(slice_concat_ext)]
#![feature(core_intrinsics)]
#[macro_use]
extern crate build_helper;
@ -1155,7 +1154,7 @@ impl Build {
fn read(&self, path: &Path) -> String {
if self.config.dry_run { return String::new(); }
t!(fs::read_string(path))
t!(fs::read_to_string(path))
}
fn create_dir(&self, dir: &Path) {

View file

@ -12,7 +12,6 @@ use std::fs;
use std::env;
use std::path::PathBuf;
use std::process::{Command, exit};
use std::slice::SliceConcatExt;
use Mode;
use Compiler;