Skip to content

Commit c690c62

Browse files
authored
VPN-2199: Windows ARM Support (#10891)
* Bump to rust 1.85 and add rust-std-aarch64-pc-windows-msvc * Update sentry submodule to 0.12.1 * Generalize MSVC/rustlang config generation * Add arm64 toolchain file for Windows/conda environment * Remove llvm-project/issues/54409 workaround * Fix up arch detection under native windows builds * Update xwin SDK to include both aarch64 and x86_64 targets * Add b-win11-2024h2-arm64 worker type * Add Visual Studio toolchain task for aarch64 * Try passing arch to vsdownload.py instead * Add Qt build task for aarch64 * Add --only-host option * Try to trim some more stuff from Qt build * Try to be even more aggressive at saving disk space * Delete the Qt source tarball after extraction * YOLO: Let's build it! * HACK: Workaround arm64/clang-cl compile fail in ring crate * Update split-tunnel binaries and add aarch64 support * Update flatpak manifest after touching Cargo.lock * Revert to sentry 0.7.13 to fix iOS compile fail * Remove unused get.ps1 split-tunnel script
1 parent d3ab1bd commit c690c62

25 files changed

Lines changed: 265 additions & 492 deletions

3rdparty/sentry

Submodule sentry updated 140 files

Cargo.lock

Lines changed: 12 additions & 166 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ members = [
44
"signature",
55
]
66
resolver = "2"
7+

env-windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ dependencies:
1111
- python=3.9
1212
- nodejs=18.16.*
1313
- pip=22.3.1
14-
- rust=1.82.0
15-
- rust-std-x86_64-pc-windows-msvc=1.82.0
14+
- rust=1.85.0
15+
- rust-std-aarch64-pc-windows-msvc=1.85.0
16+
- rust-std-x86_64-pc-windows-msvc=1.85.0
1617
- compiler-rt=20.1.8
1718
- compiler-rt_win-64
1819
- cmake=3.26.3

extension/socks5proxy/bin/windowsbypass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void WindowsBypass::updateNameserver() {
287287
std::sort(nameservers.begin(), nameservers.end(),
288288
[](auto a, auto b) { return a.metric < b.metric; });
289289
QList<QHostAddress> selectedNameServers(nameservers.length());
290-
for (const auto& ns : qAsConst(nameservers)) {
290+
for (const auto& ns : nameservers) {
291291
selectedNameServers.append(ns.addr);
292292
}
293293

0 commit comments

Comments
 (0)