mirror of
https://github.com/servo/servo.git
synced 2025-06-17 21:04:28 +00:00
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 --> |
||
---|---|---|
.. | ||
lints | ||
__init__.py | ||
bootstrap.py | ||
bootstrap_commands.py | ||
build_commands.py | ||
command_base.py | ||
devenv_commands.py | ||
package_commands.py | ||
packages.py | ||
post_build_commands.py | ||
servo-binary-formula.rb.in | ||
testing_commands.py | ||
util.py | ||
win32_toast.py |