]> git.lizzy.rs Git - rust.git/blob - src/bootstrap/bin/main.rs
Rollup merge of #63055 - Mark-Simulacrum:save-analysis-clean-2, r=Xanewok
[rust.git] / src / bootstrap / bin / main.rs
1 //! rustbuild, the Rust build system
2 //!
3 //! This is the entry point for the build system used to compile the `rustc`
4 //! compiler. Lots of documentation can be found in the `README.md` file in the
5 //! parent directory, and otherwise documentation can be found throughout the `build`
6 //! directory in each respective module.
7
8 // NO-RUSTC-WRAPPER
9 #![deny(warnings, rust_2018_idioms, unused_lifetimes)]
10
11 use std::env;
12
13 use bootstrap::{Config, Build};
14
15 fn main() {
16     let args = env::args().skip(1).collect::<Vec<_>>();
17     let config = Config::parse(&args);
18     Build::new(config).build();
19 }