Skip to content

Commit 1e420b5

Browse files
authored
Merge pull request #5 from l2dy/linux-aarch64
2 parents c7933bd + 2b43e90 commit 1e420b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

treesit-langs.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,9 @@ If VERSION and OS are not spcified, use the defaults of
243243
;; FIX: Implement this correctly, refactoring 'OS' -> 'platform'.
244244
(pcase os
245245
("windows" "x86_64-pc-windows-msvc")
246-
("linux" "x86_64-unknown-linux-gnu")
246+
("linux" (if (string-prefix-p "aarch64" system-configuration)
247+
"aarch64-unknown-linux-gnu"
248+
"x86_64-unknown-linux-gnu"))
247249
("freebsd" "x86_64-unknown-freebsd")
248250
("macos" (if (string-prefix-p "aarch64" system-configuration)
249251
"aarch64-apple-darwin"

0 commit comments

Comments
 (0)