Skip to content

Commit 8445f49

Browse files
claudebranchseer
authored andcommitted
ci(musl): clarify why -crt-static is needed
vite-task ships as a NAPI module in vite+, and musl Node with native modules links to musl libc dynamically, so we must match. https://claude.ai/code/session_01R3RoGqPDBRtNa2NRg3SeBM
1 parent 30b15ae commit 8445f49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ jobs:
146146
# Alpine's cc is already musl-native, so no custom linker is needed.
147147
# Must mirror [build].rustflags and target rustflags from .cargo/config.toml
148148
# (RUSTFLAGS env var overrides both levels).
149+
# -crt-static: vite-task is shipped as a NAPI module in vite+, and musl Node
150+
# with native modules links to musl libc dynamically, so we must do the same.
149151
RUSTFLAGS: --cfg tokio_unstable -D warnings -C target-feature=-crt-static
150152
steps:
151153
- name: Install Alpine dependencies

0 commit comments

Comments
 (0)