Skip to content

Commit 88ec367

Browse files
RedFlame2112amirbilu
authored andcommitted
fix(arch): Added support for Linux Arm
Added an additional control path to the `arch_and_platform()` function that accounts for the recent Linux ARM path for reference ARM based distros like Fedora Asahi Remix
1 parent 6d1f824 commit 88ec367

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lua/tabnine/binary.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ local function arch_and_platform()
1515

1616
if os_uname.sysname == "Linux" and os_uname.machine == "x86_64" then
1717
return "x86_64-unknown-linux-musl"
18+
elseif os_uname.sysname == "Linux" and os_uname.machine == "aarch64" then
19+
return "aarch64-unknown-linux-gnu"
1820
elseif os_uname.sysname == "Darwin" and os_uname.machine == "arm64" then
1921
return "aarch64-apple-darwin"
2022
elseif os_uname.sysname == "Darwin" then

0 commit comments

Comments
 (0)