about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-04-07 11:58:38 +0000
committerbors <bors@rust-lang.org>2018-04-07 11:58:38 +0000
commit8c2d7b2da322af89f310183cdca662a99ade6d22 (patch)
treeb34cdb0605715be99a795e67a4b3103744e800a3 /src/bootstrap
parent04fef17143daad88bdc4314561e9c2eb5a364805 (diff)
parent8958815916201421b0a6648c68d7eb31bd3197ee (diff)
downloadrust-8c2d7b2da322af89f310183cdca662a99ade6d22.tar.gz
rust-8c2d7b2da322af89f310183cdca662a99ade6d22.zip
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!
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/lib.rs5
-rw-r--r--src/bootstrap/tool.rs1
2 files changed, 2 insertions, 4 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index ea4368c0323..0a7f0e5ff4e 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -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) {
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 93b6153fcb2..5fc92611e65 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -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;