Repository: tauri-apps/tauri (language: rust)

Issue:
[bug] Tauri fails to build project with err: Unknown Scheme: cannot make HTTPS request because no TLS backend is configured
### Describe the bug

When attempting to build a project with tauri on a Windows arm64 machine I get the following error:

```
    Downloading https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip
failed to bundle project: `https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip: Unknown Scheme: cannot make HTTPS request because no TLS backend is configured`
    Error failed to bundle project: `https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip: Unknown Scheme: cannot make HTTPS request because no TLS backend is configured`
 ELIFECYCLE  Command failed with exit code 1.
```

I found a similar issue [here](https://github.com/tauri-apps/tauri/issues/11294) that was closed without any resolution.
I get the same error even with openssl on path which was also mentioned in the previous issue.

### Reproduction

Unsure if this would reproduce it for others but run `pnpm tauri build` in project directory on a Windows arm64 based machine.

### Expected behavior

Building the project normally.

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.26100 aarch64 (X64)
    ✔ WebView2: 132.0.2957.140
    ✔ MSVC:
        - Visual Studio Build Tools 2019
        - Visual Studio Community 2022
    ✔ rustc: 1.84.1 (e71f9a9a9 2025-01-27)
    ✔ cargo: 1.84.1 (66221abde 2024-11-19)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-pc-windows-msvc (default)
    - node: 23.7.0
    - pnpm: 10.2.0
    - npm: 11.0.0
    - bun: 1.2.0

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - @tauri-apps/api : 2.1.1 (outdated, latest: 2.2.0)
    - @tauri-apps/cli : 2.1.0 (outdated, latest: 2.2.7)

[-] Plugins
    - tauri-plugin-os 🦀: 2.2.0
    - @tauri-apps/plugin-os : 2.2.0
    - tauri-plugin-updater 🦀: 2.3.0
    - @tauri-apps/plugin-updater : 2.3.0 (outdated, latest: 2.5.0)

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
```

### Stack trace

```text
N/A
```

### Additional context

_No response_


Discussion / hints:
Same issue on a fresh project on Windows ARM. This built fine in Ubuntu inside WSL.

Fix patch:
diff --git a/.github/workflows/publish-cli-js.yml b/.github/workflows/publish-cli-js.yml
index 8d39c04eeeae..a166108e4f16 100644
--- a/.github/workflows/publish-cli-js.yml
+++ b/.github/workflows/publish-cli-js.yml
@@ -43,7 +43,7 @@ jobs:
           - host: windows-latest
             architecture: x64
             target: aarch64-pc-windows-msvc
-            build: pnpm build --target aarch64-pc-windows-msvc --features native-tls-vendored --cargo-flags="--no-default-features"
+            build: pnpm build --target aarch64-pc-windows-msvc
           - host: ubuntu-20.04
             target: x86_64-unknown-linux-gnu
             docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
diff --git a/.github/workflows/publish-cli-rs.yml b/.github/workflows/publish-cli-rs.yml
index e8bf7b673288..5c02495c3bda 100644
--- a/.github/workflows/publish-cli-rs.yml
+++ b/.github/workflows/publish-cli-rs.yml
@@ -37,7 +37,7 @@ jobs:
           - os: windows-latest
             rust_target: aarch64-pc-windows-msvc
             ext: '.exe'
-            args: '--no-default-features --features native-tls-vendored'
+            args: ''
 
     steps:
       - uses: actions/checkout@v4


Test patch: