Auto merge of #5490 - alexcrichton:fix-thrash, r=matklad
authorbors <bors@rust-lang.org>
Sat, 5 May 2018 20:41:12 +0000 (20:41 +0000)
committerbors <bors@rust-lang.org>
Sat, 5 May 2018 20:41:12 +0000 (20:41 +0000)
commit757112c39f8a5a4f6ffa0b7e29d23a56f03fb931
treecc2e938960c01df178431185b0b815ef17c96a03
parent2912a58de268e165873f42b06fcefeb3fb0b3fa9
parent9df7370733adf60c2cd7068523f7421d6e74ab41
Auto merge of #5490 - alexcrichton:fix-thrash, r=matklad

Factor in `used_in_plugin` to target filenames

This prevents thrashing the cache of compiled libraries for when they're used in
a plugin or not.