]> git.lizzy.rs Git - rust.git/commitdiff
Add llvm-skip-rebuild to opts
authorMatthew Healy <matthew.healy@soundcloud.com>
Thu, 9 Jan 2020 21:19:33 +0000 (22:19 +0100)
committerMatthew Healy <matthew.healy@soundcloud.com>
Thu, 9 Jan 2020 22:26:49 +0000 (23:26 +0100)
src/bootstrap/flags.rs

index ffc24367db6e9cf214479ee779ddbd3fb097cb02..813e89eef38ce8dbc6916b4a471082b0fbc075f2 100644 (file)
@@ -150,6 +150,14 @@ pub fn parse(args: &[String]) -> Flags {
             "VALUE",
         );
         opts.optopt("", "error-format", "rustc error format", "FORMAT");
+        opts.optopt(
+            "",
+            "llvm-skip-rebuild",
+            "whether rebuilding llvm should be skipped \
+             a VALUE of TRUE indicates that llvm will not be rebuilt \
+             VALUE overrides the skip-rebuild option in config.toml.",
+            "VALUE",
+        );
 
         // fn usage()
         let usage =