1
Fork 0

Rollup merge of #58217 - taiki-e:librustc_tsan-2018, r=Centril

librustc_tsan => 2018

Transitions `librustc_tsan` to Rust 2018; cc #58099

r? @Centril
This commit is contained in:
kennytm 2019-02-07 13:57:48 +08:00 committed by GitHub
commit 2b99c4eec7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View file

@ -3,6 +3,7 @@ authors = ["The Rust Project Developers"]
build = "build.rs" build = "build.rs"
name = "rustc_tsan" name = "rustc_tsan"
version = "0.0.0" version = "0.0.0"
edition = "2018"
[lib] [lib]
name = "rustc_tsan" name = "rustc_tsan"

View file

@ -1,6 +1,3 @@
extern crate build_helper;
extern crate cmake;
use std::env; use std::env;
use build_helper::sanitizer_lib_boilerplate; use build_helper::sanitizer_lib_boilerplate;

View file

@ -1,8 +1,9 @@
#![sanitizer_runtime] #![sanitizer_runtime]
#![feature(nll)]
#![feature(sanitizer_runtime)] #![feature(sanitizer_runtime)]
#![feature(staged_api)] #![feature(staged_api)]
#![no_std] #![no_std]
#![unstable(feature = "sanitizer_runtime_lib", #![unstable(feature = "sanitizer_runtime_lib",
reason = "internal implementation detail of sanitizers", reason = "internal implementation detail of sanitizers",
issue = "0")] issue = "0")]
#![deny(rust_2018_idioms)]