aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgl_extensions/extension.rs
diff options
context:
space:
mode:
authorJonathan Schwender <55576758+jschwe@users.noreply.github.com>2025-04-04 10:07:32 +0200
committerGitHub <noreply@github.com>2025-04-04 08:07:32 +0000
commitd6d610ef6d1671edd182a27141cf499906d8e1fa (patch)
tree4f1e042d2d9cdcc68ac04818fb362e8676385fab /components/script/dom/webgl_extensions/extension.rs
parent0d693114ad4f27a07a3cd18c4c34da53be55d1bc (diff)
downloadservo-d6d610ef6d1671edd182a27141cf499906d8e1fa.tar.gz
servo-d6d610ef6d1671edd182a27141cf499906d8e1fa.zip
mach: Fix cross-compiling from windows to non windows (#36070)
Since we switched to using `aws-lc-rs` instead of `ring`, cross-compiling on windows (to non-windows) had been broken. Using the default MSVC Generator results in CMake erroneously being configured for the host platform, with failing compiler checks. Switching to Ninja fixes that issue. The CMake build rules of aws-lc-rs also make use of `tr` and assume it is installed, hence we provide a helpful error message suggesting to try using mach from `git bash` which does provide the `tr` command. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix cross-compiling servo on windows hosts to non-windows targets - [x] These changes do not require tests because: We don't test cross-compiling from windows hosts in CI. These changes were manually tested by compiling for OpenHarmony on windows. Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Diffstat (limited to 'components/script/dom/webgl_extensions/extension.rs')
0 files changed, 0 insertions, 0 deletions