rspack icon indicating copy to clipboard operation
rspack copied to clipboard

fix(core): fix musl compile error

Open hardfist opened this issue 1 year ago • 1 comments

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).

hardfist avatar Sep 26 '24 07:09 hardfist