Auto merge of #4578 - derekdreery:refactor/cargo_util_config, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 7 Oct 2017 15:09:06 +0000 (15:09 +0000)
committerbors <bors@rust-lang.org>
Sat, 7 Oct 2017 15:09:06 +0000 (15:09 +0000)
commit446ed6e440f175b14f6d42cc941c44801028a40f
tree6162f775a9c5201ecd32bd9d4df4e7f20606e60d
parent49ab521b2ef89d522c09b2e5a9adc9df107f6a85
parent24d745a1754c34f05ae0ed0091966fc22e3b43ec
Auto merge of #4578 - derekdreery:refactor/cargo_util_config, r=alexcrichton

Remove some cells from Config

In most cases it makes sense to not use interior mutability in Config, so that mutability is more transparent. This PR removes Cells in these cases. It leaves those cases where parameters are only initialized on first access (LazyCell).