mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #14303 - upsuper:triple-msvc, r=bholley
Use msvc toolchain when in Visual Studio env <!-- Please describe your changes on the following line: --> r? @bholley <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14303) <!-- Reviewable:end -->
This commit is contained in:
commit
e97804986a
1 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,8 @@ def host_triple():
|
|||
elif os_type == "android":
|
||||
os_type = "linux-androideabi"
|
||||
elif os_type == "windows":
|
||||
if os.getenv("MSYSTEM") is None:
|
||||
# If we are in a Visual Studio environment, use msvc
|
||||
if os.getenv("VSInstallDir") is not None:
|
||||
os_type = "pc-windows-msvc"
|
||||
else:
|
||||
os_type = "pc-windows-gnu"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue