about summary refs log tree commit diff
path: root/src/bootstrap/config.rs
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2023-07-29 17:27:13 +0200
committerJakub Beránek <berykubik@gmail.com>2023-07-31 08:54:47 +0200
commit78403f4e1381ff227e0438240e2534c8ea7009fb (patch)
tree537f7b0c63f90e26b0bb107db89c0862c267ecf3 /src/bootstrap/config.rs
parenta16925d5f37c24c0839903e3441ca55f7be707f3 (diff)
Remove BOLT from bootstrap
Diffstat (limited to 'src/bootstrap/config.rs')
-rw-r--r--src/bootstrap/config.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs
index f3078444563..56e667d4d12 100644
--- a/src/bootstrap/config.rs
+++ b/src/bootstrap/config.rs
@@ -1127,15 +1127,6 @@ impl Config {
         config.free_args = std::mem::take(&mut flags.free_args);
         config.llvm_profile_use = flags.llvm_profile_use;
         config.llvm_profile_generate = flags.llvm_profile_generate;
-        config.llvm_bolt_profile_generate = flags.llvm_bolt_profile_generate;
-        config.llvm_bolt_profile_use = flags.llvm_bolt_profile_use;
-
-        if config.llvm_bolt_profile_generate && config.llvm_bolt_profile_use.is_some() {
-            eprintln!(
-                "Cannot use both `llvm_bolt_profile_generate` and `llvm_bolt_profile_use` at the same time"
-            );
-            exit!(1);
-        }
 
         // Infer the rest of the configuration.