We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9339f44 commit b996e5eCopy full SHA for b996e5e
src/bootstrap/bolt.rs
@@ -49,6 +49,8 @@ pub fn optimize_with_bolt(path: &Path, profile_path: &Path, output_path: &Path)
49
.arg("-icf=1")
50
// Update DWARF debug info in the final binary
51
.arg("-update-debug-sections")
52
+ // Try to reuse old text segments to reduce binary size
53
+ .arg("--use-old-text")
54
// Print optimization statistics
55
.arg("-dyno-stats")
56
.status()
0 commit comments