You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vite-plus needs to ship NAPI bindings for Linux musl targets (linux-x64-musl, linux-arm64-musl) to support Alpine/Docker environments. However, the build fails because fspy_preload_unix produces a cdylib which is not supported on musl targets:
error: cannot produce cdylib for `fspy_preload_unix` as the target `x86_64-unknown-linux-musl` does not support these crate types
Context
vite-plus needs to ship NAPI bindings for Linux musl targets (
linux-x64-musl,linux-arm64-musl) to support Alpine/Docker environments. However, the build fails becausefspy_preload_unixproduces acdylibwhich is not supported on musl targets:This blocks voidzero-dev/vite-plus#992 and voidzero-dev/vite-plus#995.
Expected
vite-task should be buildable for musl targets, either by:
fspy_preload_unixcdylib on musl targetsReferences
vp buildin Alpine/Docker