about summary refs log tree commit diff
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2023-04-16 14:13:14 +0300
committerklensy <klensy@users.noreply.github.com>2023-04-16 14:13:14 +0300
commite4a9d137d0c29d3625672f137dadb57149fc8a30 (patch)
treebcee59c1a4590464f9e6c2ede654eea3260babe8
parente6e956dade79bdc084dfe3078abab24656a1b483 (diff)
downloadrust-e4a9d137d0c29d3625672f137dadb57149fc8a30.tar.gz
rust-e4a9d137d0c29d3625672f137dadb57149fc8a30.zip
bolt: remove deprecated option value
-rw-r--r--src/bootstrap/bolt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bolt.rs b/src/bootstrap/bolt.rs
index 10e6d2e7d6d..5384181ea68 100644
--- a/src/bootstrap/bolt.rs
+++ b/src/bootstrap/bolt.rs
@@ -40,7 +40,7 @@ pub fn optimize_with_bolt(path: &Path, profile_path: &Path, output_path: &Path)
         // Reorder functions within the binary
         .arg("-reorder-functions=hfsort+")
         // Split function code into hot and code regions
-        .arg("-split-functions=2")
+        .arg("-split-functions")
         // Split as many basic blocks as possible
         .arg("-split-all-cold")
         // Move jump tables to a separate section