Skip to content

Commit

Permalink
fix(arch): Added support for Linux Arm
Browse files Browse the repository at this point in the history
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
  • Loading branch information
RedFlame2112 committed Mar 8, 2024
1 parent da893a9 commit 05c3bf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/tabnine/binary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ local function arch_and_platform()

if os_uname.sysname == "Linux" and os_uname.machine == "x86_64" then
return "x86_64-unknown-linux-musl"
elseif os_uname.sysname == "Linux" and os_uname.machine == "aarch64" then
return "aarch64-unknown-linux-gnu"
elseif os_uname.sysname == "Darwin" and os_uname.machine == "arm64" then
return "aarch64-apple-darwin"
elseif os_uname.sysname == "Darwin" then
Expand Down

0 comments on commit 05c3bf9

Please sign in to comment.