]> git.lizzy.rs Git - rust.git/blob - src/librustc_target/lib.rs
Simplify SaveHandler trait
[rust.git] / src / librustc_target / lib.rs
1 //! Some stuff used by rustc that doesn't have many dependencies
2 //!
3 //! Originally extracted from rustc::back, which was nominally the
4 //! compiler 'backend', though LLVM is rustc's backend, so rustc_target
5 //! is really just odds-and-ends relating to code gen and linking.
6 //! This crate mostly exists to make rustc smaller, so we might put
7 //! more 'stuff' here in the future. It does not have a dependency on
8 //! LLVM.
9
10 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/")]
11
12 #![feature(box_syntax)]
13 #![feature(nll)]
14 #![feature(slice_patterns)]
15
16 #![deny(rust_2018_idioms)]
17 #![deny(unused_lifetimes)]
18
19 #[macro_use] extern crate log;
20
21 pub mod abi;
22 pub mod spec;