Closed
Description
Summary
x86_64-alpine-linux-musl
is an unknown cc-rs target which breaks the grammar build
Reproduction Steps
Output of cat /etc/os-release
:
jone@phosphene helix $ cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.20.3
PRETTY_NAME="Alpine Linux v3.20"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
I tried this:
- Cloning the hx git repo, following installation steps
- the hx binary builds fine,
hx -g fetch
works fine hx -g build
fails
Here's the output:
jone@phosphene helix $ hx -g build
Building 230 grammars
error occurred in cc-rs: unknown target `x86_64-alpine-linux-musl`.
NOTE: `cc-rs` only supports a fixed set of targets when not in a build script.
- If adding a new target, you will need to fork of `cc-rs` until the target
has landed on nightly and the auto-generated list has been updated. See also
the `rustc` dev guide on adding a new target:
https://rustc-dev-guide.rust-lang.org/building/new-target.html
- If using a custom target, prefer to upstream it to `rustc` if possible,
otherwise open an issue with `cc-rs`:
https://github.com/rust-lang/cc-rs/issues/new
Helix log
I didn't find anything relevant in the logs, just errors about me trying to load non-existent themes.
Platform
Alpine Linux Version 3.20.3
Terminal Emulator
foot
Installation Method
source
Helix Version
25.01.1