about summary refs log tree commit diff
path: root/src/bootstrap/bin/main.rs
blob: 138b7f4b261046bad584bd2acd730da9e5b1bcf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! rustbuild, the Rust build system
//!
//! This is the entry point for the build system used to compile the `rustc`
//! compiler. Lots of documentation can be found in the `README.md` file in the
//! parent directory, and otherwise documentation can be found throughout the `build`
//! directory in each respective module.

use std::env;

use bootstrap::{Config, Build};

fn main() {
    let args = env::args().skip(1).collect::<Vec<_>>();
    let config = Config::parse(&args);
    Build::new(config).build();
}