]> git.lizzy.rs Git - rust.git/commitdiff
librustc_llvm => 2018
authorTaiki Endo <te316e89@gmail.com>
Wed, 6 Feb 2019 18:46:54 +0000 (03:46 +0900)
committerTaiki Endo <te316e89@gmail.com>
Wed, 6 Feb 2019 18:46:54 +0000 (03:46 +0900)
src/librustc_llvm/Cargo.toml
src/librustc_llvm/build.rs
src/librustc_llvm/lib.rs

index 013badb71cc5ab8d1bfe7a965a639e56e3b906f1..0fe327d5deeeb541106dc88a70ff436424ede95a 100644 (file)
@@ -3,6 +3,7 @@ authors = ["The Rust Project Developers"]
 name = "rustc_llvm"
 version = "0.0.0"
 build = "build.rs"
+edition = "2018"
 
 [lib]
 name = "rustc_llvm"
index cd91fcb2995eeb41ab50471cc2f9d05f9b31a7fe..7fa83dd977950ba6becd5b8b2f8e8c184dc7bedd 100644 (file)
@@ -1,6 +1,3 @@
-extern crate cc;
-extern crate build_helper;
-
 use std::process::Command;
 use std::env;
 use std::path::{PathBuf, Path};
index ca66540fa25f79e8ee2b639de99d90e7471c07a9..99c5e2493edecbd402b49634f89bbeb443cbb69d 100644 (file)
@@ -1,4 +1,4 @@
-#![feature(nll)]
+#![deny(rust_2018_idioms)]
 #![feature(static_nobundle)]
 
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",