servo/python/servo
bors-servo 5e3c4c2198 Auto merge of #18145 - tigercosmos:master, r=larsbergstrom
fix windows build issue #18055

<!-- Please describe your changes on the following line: -->
With some reasons, the windows and VS environment do not set the `env("PLATFORM")` variable.
So, there's no need to check the variable, and set `os_type` equl to `pc-windows-msvc` as default. Then the script can get correct url to download `rustc`.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #18055 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/18145)
<!-- Reviewable:end -->
2017-10-16 09:38:01 -05:00
..
lints Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
__init__.py Fix tidy issues with Python files in python/ 2015-06-02 19:51:41 -04:00
bootstrap.py Bootstrap: Fix cmake version parsing 2017-05-09 22:38:12 +02:00
bootstrap_commands.py mach clean-nightlies: don’t remove everything versioned by date 2017-10-11 15:43:32 +02:00
build_commands.py CEF: use cargo rustc -C link-args=... instead of #[link_args="..."] 2017-10-16 11:18:38 +02:00
command_base.py Update Rust to 1.22.0-nightly (a47c9f870 2017-10-11) 2017-10-12 14:16:04 +02:00
devenv_commands.py Fix './mach check' to build ports/servo, not components/servo 2017-10-12 12:10:58 +02:00
package_commands.py Implement Gradle flavors 2017-09-30 14:31:22 +02:00
packages.py Remove more deprecated Windows GNU code/docs 2017-04-16 22:12:17 -04:00
post_build_commands.py Android life cycle improvements and Gradle integration 2017-04-21 18:24:10 +02:00
servo-binary-formula.rb.in Fix ./mach upload-nightly macbrew 2017-05-30 14:27:27 -04:00
testing_commands.py Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326 2017-10-12 12:36:21 -04:00
util.py Auto merge of #18145 - tigercosmos:master, r=larsbergstrom 2017-10-16 09:38:01 -05:00
win32_toast.py Add proper Win32 notification for builds 2016-08-17 09:50:58 -04:00