diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-06-20 18:04:36 -0600 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-06-20 18:05:34 -0600 |
| commit | 4caa0b020f146e4504ab8ffdd52df29deaa49a09 (patch) | |
| tree | 083db6230ee65f437a2b94926f651c62a00253fd /src/bootstrap/bin | |
| parent | 29bce6e220f6fd2292d13d65fe503af7bf4852b7 (diff) | |
| download | rust-4caa0b020f146e4504ab8ffdd52df29deaa49a09.tar.gz rust-4caa0b020f146e4504ab8ffdd52df29deaa49a09.zip | |
Fixes bootstrapping with custom cargo/rustc.
config.mk is now always read when parsing the configuration to prevent this from reoccurring in the future, hopefully.
Diffstat (limited to 'src/bootstrap/bin')
| -rw-r--r-- | src/bootstrap/bin/main.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/bootstrap/bin/main.rs b/src/bootstrap/bin/main.rs index 5ca5ce1648f..5ef18b89841 100644 --- a/src/bootstrap/bin/main.rs +++ b/src/bootstrap/bin/main.rs @@ -26,12 +26,6 @@ use bootstrap::{Flags, Config, Build}; fn main() { let args = env::args().skip(1).collect::<Vec<_>>(); let flags = Flags::parse(&args); - let mut config = Config::parse(&flags.build, flags.config.clone()); - - // compat with `./configure` while we're still using that - if std::fs::metadata("config.mk").is_ok() { - config.update_with_config_mk(); - } - + let config = Config::parse(&flags.build, flags.config.clone()); Build::new(flags, config).build(); } |
