about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-12-15 04:21:53 +0000
committerbors <bors@rust-lang.org>2015-12-15 04:21:53 +0000
commit9e63cecb10a3a22abed9c230c5daf268dc258bf3 (patch)
tree66983df484a73a7541dc77b86ef951e6140dfc8b /src/libsyntax/parse
parent8f031bf96205ed4cb990c2c7aded84d5ac079254 (diff)
parent915cb376e928e2afe6d7d247e3a1426aacfdc67d (diff)
downloadrust-9e63cecb10a3a22abed9c230c5daf268dc258bf3.tar.gz
rust-9e63cecb10a3a22abed9c230c5daf268dc258bf3.zip
Auto merge of #30233 - retep998:where-in-the-world-is-windows-sdk, r=alexcrichton
What I've done here is try to make the code match what vcvars does much more closely. It now chooses which SDK to find based on the version of MSVC that it found. It also bases the decision of whether to find all the things on whether `VCINSTALLDIR` has been set, which is more likely to have only been set by an invocation of vcvars, unlike previously where it would do some things only if `LIB` wasn't set even though there was a valid use case for libraries to add themselves to `LIB` without having invoked vcvars.

There are still some debug `println!`s so people can test the PR and make sure it works correctly on various setups.

It supports VS 2015, 2013, and 2012. People who want to use versions of VS older (or newer) than that will have to manually invoke the appropriate vcvars bat file to set the proper environment variables themselves.

Do not merge yet.

Fixes https://github.com/rust-lang/rust/issues/30229
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions