about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-10 10:09:47 +0000
committerbors <bors@rust-lang.org>2017-09-10 10:09:47 +0000
commit23aaeb573b626a51af9ecc97680663153e4ab2b0 (patch)
tree76d3ea096545044d5f30f1b9bfb947605a04452e /src/liballoc_system
parent34035d23ff5acd9bd08602bfab5d667450243966 (diff)
parent10f66bd6e494c5b329f6b21b31e388e0ed3d69c1 (diff)
downloadrust-23aaeb573b626a51af9ecc97680663153e4ab2b0.tar.gz
rust-23aaeb573b626a51af9ecc97680663153e4ab2b0.zip
Auto merge of #44312 - eddyb:static-by-any-other-name, r=alexcrichton
Use rvalue promotion to 'static instead of static items.

Fixes #44240. Among other things, in crates that do a lot of formatting, this could reduce the number of items, although I haven't measured the performance benefits. If there's a codegen slowdown, that should IMO be solved by caching the output of miri, *not* by using `static`.

r? @alexcrichton
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions