diff options
| author | kennytm <kennytm@gmail.com> | 2019-02-07 13:58:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-07 13:58:01 +0800 |
| commit | 5489d0dad17bfa68fe40093a245d4fc4e7a51020 (patch) | |
| tree | 8f2a6f44ee5bb6817d5700550c93fa69c1408f32 | |
| parent | 207290d98e24d984b371319a4ef3ebdd1a3f79ac (diff) | |
| parent | a07dc4e43c8f3d7c79114b257997b4ce37ddeab1 (diff) | |
Rollup merge of #58241 - taiki-e:librustc_llvm-2018, r=Centril
librustc_llvm => 2018 Transitions `librustc_llvm` to Rust 2018; cc #58099 r? @Centril
| -rw-r--r-- | src/librustc_llvm/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/librustc_llvm/build.rs | 3 | ||||
| -rw-r--r-- | src/librustc_llvm/lib.rs | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/librustc_llvm/Cargo.toml b/src/librustc_llvm/Cargo.toml index 013badb71cc..0fe327d5dee 100644 --- a/src/librustc_llvm/Cargo.toml +++ b/src/librustc_llvm/Cargo.toml @@ -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" diff --git a/src/librustc_llvm/build.rs b/src/librustc_llvm/build.rs index cd91fcb2995..7fa83dd9779 100644 --- a/src/librustc_llvm/build.rs +++ b/src/librustc_llvm/build.rs @@ -1,6 +1,3 @@ -extern crate cc; -extern crate build_helper; - use std::process::Command; use std::env; use std::path::{PathBuf, Path}; diff --git a/src/librustc_llvm/lib.rs b/src/librustc_llvm/lib.rs index ca66540fa25..99c5e2493ed 100644 --- a/src/librustc_llvm/lib.rs +++ b/src/librustc_llvm/lib.rs @@ -1,4 +1,4 @@ -#![feature(nll)] +#![deny(rust_2018_idioms)] #![feature(static_nobundle)] #