]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/flags.rs
Fixes warnings and errors introduced while moving code around
[rust.git] / src / bootstrap / flags.rs
index 5804df34e8b383f21798c20fcf0791244d9628ac..30bc8cdef4ad22b1f120d2262e4ebe1b3b9a1ed6 100644 (file)
@@ -23,7 +23,6 @@
 use Build;
 use config::Config;
 use metadata;
-use step;
 
 /// Deserialized version of all flags for this compile.
 pub struct Flags {
@@ -246,10 +245,12 @@ pub fn parse(args: &[String]) -> Flags {
             config.build = flags.build.clone();
             let mut build = Build::new(flags, config);
             metadata::build(&mut build);
-            let maybe_rules_help = step::build_rules(&build).get_help(subcommand);
-            if maybe_rules_help.is_some() {
-                extra_help.push_str(maybe_rules_help.unwrap().as_str());
-            }
+
+            // FIXME: How should this happen now? Not super clear...
+            // let maybe_rules_help = step::build_rules(&build).get_help(subcommand);
+            // if maybe_rules_help.is_some() {
+            //     extra_help.push_str(maybe_rules_help.unwrap().as_str());
+            // }
         } else {
             extra_help.push_str(format!("Run `./x.py {} -h -v` to see a list of available paths.",
                      subcommand).as_str());