diff options
| author | kennytm <kennytm@gmail.com> | 2019-02-07 13:57:49 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-07 13:57:49 +0800 |
| commit | f3908add8c2efd68f4ac09d04caf98365c426249 (patch) | |
| tree | 1d46b145a334168362c36edff618ae03835ba1b9 | |
| parent | 2b99c4eec7b9f6d8d42b355c162f111effac8544 (diff) | |
| parent | fb0f0bfea6a9123ebfd057e10b87fad013ffd6ed (diff) | |
Rollup merge of #58218 - taiki-e:librustc_msan-2018, r=Centril
librustc_msan => 2018 Transitions `librustc_msan` to Rust 2018; cc #58099 r? @Centril
| -rw-r--r-- | src/librustc_msan/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/librustc_msan/build.rs | 3 | ||||
| -rw-r--r-- | src/librustc_msan/lib.rs | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/librustc_msan/Cargo.toml b/src/librustc_msan/Cargo.toml index 78c39d03e45..7d88aa59b3a 100644 --- a/src/librustc_msan/Cargo.toml +++ b/src/librustc_msan/Cargo.toml @@ -3,6 +3,7 @@ authors = ["The Rust Project Developers"] build = "build.rs" name = "rustc_msan" version = "0.0.0" +edition = "2018" [lib] name = "rustc_msan" diff --git a/src/librustc_msan/build.rs b/src/librustc_msan/build.rs index 085514b5a01..1c66b0a9cd3 100644 --- a/src/librustc_msan/build.rs +++ b/src/librustc_msan/build.rs @@ -1,6 +1,3 @@ -extern crate build_helper; -extern crate cmake; - use std::env; use build_helper::sanitizer_lib_boilerplate; diff --git a/src/librustc_msan/lib.rs b/src/librustc_msan/lib.rs index d6c8e54c18d..568bb540c47 100644 --- a/src/librustc_msan/lib.rs +++ b/src/librustc_msan/lib.rs @@ -1,8 +1,9 @@ #![sanitizer_runtime] -#![feature(nll)] #![feature(sanitizer_runtime)] #![feature(staged_api)] #![no_std] #![unstable(feature = "sanitizer_runtime_lib", reason = "internal implementation detail of sanitizers", issue = "0")] + +#![deny(rust_2018_idioms)] |
