]> git.lizzy.rs Git - rust.git/blob - src/bootstrap/bin/main.rs
Simplify SaveHandler trait
[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 #![deny(warnings)]
9
10 use std::env;
11
12 use bootstrap::{Config, Build};
13
14 fn main() {
15     let args = env::args().skip(1).collect::<Vec<_>>();
16     let config = Config::parse(&args);
17     Build::new(config).build();
18 }