Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std: Flag run_fmt() as #[inline(always)]
This function is a tiny wrapper that LLVM doesn't want to inline, and it ends up causing more bloat than necessary. The bloat is pretty small, but it's a win of at least 7k for small executables, and I imagine that the number goes up as there are more calls to fail!().
- Loading branch information
ddc1c21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at alexcrichton@ddc1c21
ddc1c21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/size = ddc1c21 into auto
ddc1c21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/size = ddc1c21 merged ok, testing candidate = 5b4a141
ddc1c21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4534
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/2376
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/2377
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4532
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3632
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3638
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4547
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3635
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3641
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4549
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3635
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3640
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3709
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1527
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4542
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3643
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3650
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4308
ddc1c21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 5b4a141