Skip to content

Commit d3452b0

Browse files
authored
fix: Add "arm" as an alias for armv7l as process.arch outputs arm on armv7l hosts (#6845)
1 parent 9dc13ba commit d3452b0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/mean-elephants-sin.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"builder-util": patch
3+
---
4+
5+
fix: Add "arm" as an alias for armv7l as process.arch outputs arm on armv7l hosts

packages/builder-util/src/arch.ts

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export function archFromString(name: string): Arch {
4040
return Arch.ia32
4141
case "arm64":
4242
return Arch.arm64
43+
case "arm":
4344
case "armv7l":
4445
return Arch.armv7l
4546
case "universal":

0 commit comments

Comments
 (0)