Skip to content

Commit e279f90

Browse files
committed
Auto merge of rust-lang#110403 - klensy:bolt-deprecate, r=albertlarsan68,Kobzol
bolt: remove deprecated option value for split-functions Noticed warning at https://github.com/rust-lang-ci/rust/actions/runs/4711883459/jobs/8356538964#step:26:40828, option value was removed at llvm/llvm-project@96f6ec5. bolt only running on latest supported llvm (yes?), so it's safe to apply this patch. cc `@Kobzol`
2 parents 7908a1d + e4a9d13 commit e279f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/bolt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub fn optimize_with_bolt(path: &Path, profile_path: &Path, output_path: &Path)
4040
// Reorder functions within the binary
4141
.arg("-reorder-functions=hfsort+")
4242
// Split function code into hot and code regions
43-
.arg("-split-functions=2")
43+
.arg("-split-functions")
4444
// Split as many basic blocks as possible
4545
.arg("-split-all-cold")
4646
// Move jump tables to a separate section

0 commit comments

Comments
 (0)