Replies: 1 comment 1 reply
-
Helix loads the tree sitter grammar as dynamic libraries. Static linking musl is not possible in this case. You can build with musk but then you will have to dynamic link it (and therefore musl also needs to be present on the server). It's probably a better idea to spin up a centos container and build on there to target an older glibc version. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry if this is the wrong place for this question. I have tried searching all over to no avail.
I want to use helix on an offline server with a lower version glic. So i built from source with following instructions
RUSTFLAGS="-C target-feature=-crt-static" cargo build --target x86_64-unknown-linux-musl --release
Then I used
ldd
to confirm the that bothhx
binary and treesitterso
files were statically linked.Then I copyed
hx
binary andruntime
directory to my server ,andruntime
files were copyed in~/.config/helix
.I run
hx -v a.c
and LSP worked but there was no code highlights.Log shows follows:
Is there any thing else i can try?
Beta Was this translation helpful? Give feedback.
All reactions