Auto merge of #4630 - ehuss:new-test-temp-dir, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 17 Oct 2017 14:24:37 +0000 (14:24 +0000)
committerbors <bors@rust-lang.org>
Tue, 17 Oct 2017 14:24:37 +0000 (14:24 +0000)
commit7e89f400eedf526529f9c0bf6aeb14fbc3dfddc6
treeebcd3d5e174ca6659f52696bd90bde01394c3a59
parent361857e00a10274c64416a7e5de0980c0ae68fa6
parenteea294a81d8b4edee678621f227960ce6fd5cb57
Auto merge of #4630 - ehuss:new-test-temp-dir, r=alexcrichton

Fix `new` tests on Windows inadvertently picking up ~/.cargo/config.

Fixes #4601.  By relying on `__CARGO_TEST_ROOT`, using a temp directory is no
longer necessary.