# lua: Fix broken LuaLS download on x64 \(\#10642\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9470a52b5da08efc2a9c55da68ae5ea0f759000e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9470a52b5da08efc2a9c55da68ae5ea0f759000e

Requested commit: 9470a52b5da08efc2a9c55da68ae5ea0f759000e

Commit: 9470a52b5da08efc2a9c55da68ae5ea0f759000e

Tree: 5c8b9df4057b86d7b5822dbdd7faf39e5bc17529

Author: Peter Tripp

Committer: GitHub

## Message

````
lua: Fix broken LuaLS download on x64 (#10642)

The changes in #10437 accidentally switched 'x64' to 'x86_64' which
breaks installs on linux x64, macos x64 and windows x64. This yields the
following error:

```
[2024-04-16T12:58:01-04:00 ERROR project] failed to start language server "lua-language-server": no asset found matching "lua-language-server-3.7.4-darwin-x86_64.tar.gz"
[2024-04-16T12:58:01-04:00 ERROR project] server stderr: Some("")
```

It's trying to download: 
`lua-language-server-3.7.4-darwin-x86_64.tar.gz`
which should be
`lua-language-server-3.7.4-darwin-x64.tar.gz`

See [LuaLS release
page](https://github.com/LuaLS/lua-language-server/releases/tag/3.6.25).

CC: @maxbrunsfeld

lua.rs before ef4c70c:

https://github.com/zed-industries/zed/blob/c6028f665182403a035af193a3f27021f6e57c67/crates/languages/src/lua.rs#L35

lua.rs after:

https://github.com/zed-industries/zed/blob/5d7148bde108bd59ca20f297fcebbcb9b8c27452/extensions/lua/src/lua.rs#L49

Release Notes:

- N/A
````

## Parents

- [fa0302f156870785f9cd0edebe529c18a24f8807](https://git.cafe/gitcafe/zed/commit/fa0302f156870785f9cd0edebe529c18a24f8807?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9470a52b5da08efc2a9c55da68ae5ea0f759000e?format=markdown)
