Commit 89b19af
committed
ci: disable musl crt-static for Test (Linux x64 musl) job
vite-task PR voidzero-dev/vite-task#344 made `fspy_preload_unix`
(a cdylib) an unconditional build-dep so cargo's artifact resolver
doesn't panic during cross-compile. On musl, building a cdylib
requires dynamically-linked libc; the default is static, so the
build fails with:
error: cannot produce cdylib for `fspy_preload_unix` as the
target `x86_64-unknown-linux-musl` does not support these crate
types
Mirror vite-task's own musl CI: set `-C target-feature=-crt-static`
in `RUSTFLAGS`. vite+ ships as a NAPI module that links musl libc
dynamically, so this matches production.1 parent ddee23d commit 89b19af
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
124 | 131 | | |
125 | 132 | | |
126 | 133 | | |
| |||
0 commit comments