make rustc_target usable outside of rustc
This commit is contained in:
parent
1dda298ad3
commit
09a384643e
11 changed files with 163 additions and 77 deletions
|
@ -8,13 +8,13 @@
|
|||
//! LLVM.
|
||||
|
||||
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
|
||||
#![feature(assert_matches)]
|
||||
#![feature(associated_type_bounds)]
|
||||
#![feature(exhaustive_patterns)]
|
||||
#![feature(min_specialization)]
|
||||
#![feature(never_type)]
|
||||
#![feature(rustc_attrs)]
|
||||
#![feature(step_trait)]
|
||||
#![cfg_attr(feature = "nightly", feature(assert_matches))]
|
||||
#![cfg_attr(feature = "nightly", feature(associated_type_bounds))]
|
||||
#![cfg_attr(feature = "nightly", feature(exhaustive_patterns))]
|
||||
#![cfg_attr(feature = "nightly", feature(min_specialization))]
|
||||
#![cfg_attr(feature = "nightly", feature(never_type))]
|
||||
#![cfg_attr(feature = "nightly", feature(rustc_attrs))]
|
||||
#![cfg_attr(feature = "nightly", feature(step_trait))]
|
||||
#![deny(rustc::untranslatable_diagnostic)]
|
||||
#![deny(rustc::diagnostic_outside_of_impl)]
|
||||
|
||||
|
@ -22,14 +22,18 @@ use std::iter::FromIterator;
|
|||
use std::path::{Path, PathBuf};
|
||||
|
||||
#[macro_use]
|
||||
#[cfg(feature = "nightly")]
|
||||
extern crate rustc_macros;
|
||||
|
||||
#[macro_use]
|
||||
#[cfg(feature = "nightly")]
|
||||
extern crate tracing;
|
||||
|
||||
pub mod abi;
|
||||
#[cfg(feature = "nightly")]
|
||||
pub mod asm;
|
||||
pub mod json;
|
||||
#[cfg(feature = "nightly")]
|
||||
pub mod spec;
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue