rust/src/librustc_driver
Manish Goregaokar 2dba874d57
Rollup merge of #48452 - varkor:unpacked-kind, r=eddyb
Introduce UnpackedKind

This adds an `UnpackedKind` type as a typesafe counterpart to `Kind`. This should make future changes to kinds (such as const generics!) more resilient, as the type-checker will be able to catch more potential issues.

r? @eddyb
cc @yodaldevoid
2018-02-24 15:52:15 -08:00
..
profile Compress "small" spans to 32 bits and intern "large" spans 2017-09-23 00:34:13 +03:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
derive_registrar.rs kill a bunch of one off tasks 2017-04-18 08:20:12 -04:00
driver.rs Rollup merge of #48353 - michaelwoerister:monoitem-static-defid, r=eddyb 2018-02-24 12:48:01 -08:00
lib.rs stage0 cfg cleanup 2018-02-20 08:52:33 -07:00
pretty.rs rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
README.md Prefer to use attr::contains_name() and attr::find_by_name() 2017-12-28 12:32:24 +09:00
test.rs Introduce UnpackedKind 2018-02-23 01:13:54 +00:00

NB: This crate is part of the Rust compiler. For an overview of the compiler as a whole, see the README.md file found in librustc.

The driver crate is effectively the "main" function for the rust compiler. It orchestrates the compilation process and "knits together" the code from the other crates within rustc. This crate itself does not contain any of the "main logic" of the compiler (though it does have some code related to pretty printing or other minor compiler options).