diff options
| author | bors <bors@rust-lang.org> | 2023-04-18 01:00:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-18 01:00:55 +0000 |
| commit | e279f902f31af1e111f2a951781c9eed82f8c360 (patch) | |
| tree | 99e949b2040df1263e99fd8d34aef041a2a4cb16 /src/bootstrap | |
| parent | 7908a1d65496b88626e4b7c193c81d777005d6f3 (diff) | |
| parent | e4a9d137d0c29d3625672f137dadb57149fc8a30 (diff) | |
Auto merge of #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 https://github.com/llvm/llvm-project/commit/96f6ec5090c2f7a1e4804693cbb84c29c574b3de. bolt only running on latest supported llvm (yes?), so it's safe to apply this patch. cc `@Kobzol`
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/bolt.rs | 2 |
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 |
