]> git.proxmox.com Git - cargo.git/commit
fix: prefer env variables over config files
authorJorge Aparicio <japaricious@gmail.com>
Sat, 6 Feb 2016 20:25:52 +0000 (15:25 -0500)
committerJorge Aparicio <japaricious@gmail.com>
Sat, 6 Feb 2016 20:25:52 +0000 (15:25 -0500)
commit256d9dd2019926f43ff3efb375b323b7e8cb51f8
treea0ea340b869f305d83a26b457afcdc03a131be49
parent289411bbe7aa7b83d0188277fcf4b62391488e3c
fix: prefer env variables over config files

This patches fixes the precedence in these cases:

- CARGO_TARGET_ROOT is now preferred over build.target-dir
- RUSTC is now preferred over build.rustc
- RUSTDOC is now preferred over build.rustdoc
src/cargo/util/config.rs
tests/test_cargo_compile.rs