Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zed fails to compile tree sitter grammars on aarch64 linux #18492

Open
1 task done
theoparis opened this issue Sep 29, 2024 · 0 comments
Open
1 task done

Zed fails to compile tree sitter grammars on aarch64 linux #18492

theoparis opened this issue Sep 29, 2024 · 0 comments
Labels
defect [core label] linux linux-wayland Linux Wayland open source Open source community projects, contributions, etc

Comments

@theoparis
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

➜ zed .
[2024-09-28T18:39:30-07:00 ERROR theme] theme not found: GitHub Dark Default
[2024-09-28T18:39:49-07:00 ERROR extensions_ui] failed to compile grammar 'nix'

Caused by:
    0: failed to run clang
    1: Exec format error (os error 8)

It seems like zed tries to download a prebuilt WASI-sdk executable - see https://github.com/zed-industries/zed/blob/main/crates/extension/src/extension_builder.rs 😕

Example extension: https://github.com/theoparis/nix-zed

Environment

Zed: v0.155.0 (Zed Dev 3ca18af)
OS: Linux Wayland fedora-asahi-remix 42
Memory: 15 GiB
Architecture: aarch64
GPU: Mesa || Apple M2 Pro (G14S B1) || OpenGL ES 3.2 Mesa 24.2.0-asahi20240727

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
@theoparis theoparis added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Sep 29, 2024
@github-actions github-actions bot deleted a comment Sep 29, 2024
theoparis added a commit to theoparis/zed that referenced this issue Sep 29, 2024
- Removed fuse-ld=mold
- Removed rust version requirement
- Temporary fix for zed-industries#18492
- Temporary fix for servo/pathfinder#571
- Upgraded to wasip2
@JosephTLyons JosephTLyons added linux open source Open source community projects, contributions, etc linux-wayland Linux Wayland and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] linux linux-wayland Linux Wayland open source Open source community projects, contributions, etc
Projects
None yet
Development

No branches or pull requests

2 participants