Skip to content

Commit 894643c

Browse files
authored
feat(bundler): use armhf as Debian package architecture on arm CPUs (#1663)
1 parent fcee4c2 commit 894643c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changes/bundler-arm.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-bundler": patch
3+
---
4+
5+
Use `armhf` as Debian package architecture on `arm` CPUs.

tooling/bundler/src/bundle/linux/debian.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
5353
let arch = match settings.binary_arch() {
5454
"x86" => "i386",
5555
"x86_64" => "amd64",
56+
// ARM64 is detected differently, armel isn't supported, so armhf is the only reasonable choice here.
57+
"arm" => "armhf",
5658
other => other,
5759
};
5860
let package_base_name = format!(

0 commit comments

Comments
 (0)