]> git.lizzy.rs Git - rust.git/commit
Auto merge of #47269 - michaelwoerister:mangled-cgu-names, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 9 Jan 2018 16:04:21 +0000 (16:04 +0000)
committerbors <bors@rust-lang.org>
Tue, 9 Jan 2018 16:04:21 +0000 (16:04 +0000)
commit61452e506f0c88861cccaeea4ced3419bdb3cbe0
treef6630e34f7e3b44761f02356fe13192b78d68a2f
parent2e33c89ff1518359c4bd5fbed1571ea00cb3b146
parent94f3037f4bc2f18ac1c427e145928cc766b573fe
Auto merge of #47269 - michaelwoerister:mangled-cgu-names, r=alexcrichton

Shorten names of some compiler generated artifacts.

This PR makes the compiler mangle codegen unit names by default. The name of every codegen unit name will now be a random string of 16 characters. It also makes the file extensions of some intermediate compiler products shorter. Hopefully, these changes will reduce the pressure on tools with path length restrictions like buildbot. The change should also solve problems with case-insensitive file system.

cc #47186 and #47222

r? @alexcrichton
src/librustc/session/config.rs