Skip to content

Conversation

@alexghergh
Copy link

Describe your changes

This is a tentative fix for clangd support on ARM64.

Clangd itself doesn't publish any ARM64 package, and so Mason fails with "Unsupported platform".

A workaround is to use the LLVM release and obtain clangd from there under ARM64 (this PR shows the package format, tested and working), however I am not certain how it would be possible to combine both sources, other than having different packages (e.g. "clangd" and "clangd-arm" or something like that in the mason registry).

It might be also a possibility to use the LLVM releases for all other platforms, though it appears to me that macOS doesn't have x86 support there (only Apple Silicon).

Is there any way to combine multiple sources under one single package in the mason registry, that I missed?

Issue ticket number and link

Evidence on requirement fulfillment (new packages only)

Checklist before requesting a review

  • If the package is available at nvim-lspconfig, I also added the respective name to neovim.lspconfig.
  • I have successfully tested installation of the package.
  • I have successfully tested the package after installation.

Screenshots

@williambotman williambotman requested a review from a team January 14, 2026 07:09
Keep only clangd, so other packages are naturally obtained from the (updated) Mason registry
@Conarius
Copy link
Contributor

Wait, please don't delete any other packages willy nilly, especially every other package than clangd.

@alexghergh
Copy link
Author

This is meant to just be a proof of concept (which doubles as personal-use). The PR is not mergeable anyway until the questions above can be answered.

Should've made a different branch for personal use, I apologize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants