@@ -99,6 +99,14 @@ cargo install --path helix-term --locked
100This will install the `hx` binary to `$HOME/.cargo/bin` and build tree-sitter grammars in `./runtime/grammars`.
100This will install the `hx` binary to `$HOME/.cargo/bin` and build tree-sitter grammars in `./runtime/grammars`.
102+If you are using the musl-libc instead of glibc the following environment variable must be set during the build
103+to ensure tree sitter grammars can be loaded correctly:
106+RUSTFLAGS="-C target-feature=-crt-static"
102Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the
110Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the
103config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overridden
111config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overridden
104via the `HELIX_RUNTIME` environment variable.
112via the `HELIX_RUNTIME` environment variable.