Fix `RUSTC=./relative-path` when building
authorAlex Crichton <alex@alexcrichton.com>
Wed, 31 Jan 2018 18:30:01 +0000 (10:30 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 1 Feb 2018 19:11:59 +0000 (11:11 -0800)
commite4f32bf34efa93b8b55bc0a3bc9cfa73ebae7d1c
treeeb620c2fbf73820d85bd1fc7c85e110f9104df94
parentdf11070cb574a64b167d36b012df50cf62e061b9
Fix `RUSTC=./relative-path` when building

This commit adjusts the compiler location logic to resolve `./relative-path`
before invoking rustc to ensure it's no longer cwd-relative. This is how many
other variables like `CARGO_HOME` work, so it's applying similar logic.
src/cargo/util/config.rs
tests/workspaces.rs