rspack
rspack copied to clipboard
fix(core): fix musl compile error
Summary
musl platform RUSTFLAGS is overritten by napi-rs, which cause rustflags defined in https://github.com/web-infra-dev/rspack/blob/main/.cargo/config.toml#L34 not working This PR temporarily fix this by patch napi-rs code before napi-rs fix it related issue: https://github.com/napi-rs/napi-rs/issues/2151
Checklist
- [ ] Tests updated (or not required).
- [ ] Documentation updated (or not required).
Deploy Preview for rspack canceled.
| Name | Link |
|---|---|
| Latest commit | 7c5f6cd73c11a777f80322ca3deb49acadf80014 |
| Latest deploy log | https://app.netlify.com/sites/rspack/deploys/66f50a43bf47f2000858d03c |