Skip to content

Commit 2b99c4e

Browse files
authored
Rollup merge of rust-lang#58217 - taiki-e:librustc_tsan-2018, r=Centril
librustc_tsan => 2018 Transitions `librustc_tsan` to Rust 2018; cc rust-lang#58099 r? @Centril
2 parents fab527f + 20022f8 commit 2b99c4e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/librustc_tsan/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ authors = ["The Rust Project Developers"]
33
build = "build.rs"
44
name = "rustc_tsan"
55
version = "0.0.0"
6+
edition = "2018"
67

78
[lib]
89
name = "rustc_tsan"

src/librustc_tsan/build.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
extern crate build_helper;
2-
extern crate cmake;
3-
41
use std::env;
52
use build_helper::sanitizer_lib_boilerplate;
63

src/librustc_tsan/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#![sanitizer_runtime]
2-
#![feature(nll)]
32
#![feature(sanitizer_runtime)]
43
#![feature(staged_api)]
54
#![no_std]
65
#![unstable(feature = "sanitizer_runtime_lib",
76
reason = "internal implementation detail of sanitizers",
87
issue = "0")]
8+
9+
#![deny(rust_2018_idioms)]

0 commit comments

Comments
 (0)