Improve error message when running on unsupported MUSL Linux#5454
Improve error message when running on unsupported MUSL Linux#5454lukastaegert merged 1 commit intomasterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#improve-no-musl-errorNotice: Ensure you have installed Rust nightly. If you haven't installed it yet, please first see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust, then see https://rust-lang.github.io/rustup/concepts/channels.html to learn how to install Rust nightly. or load it into the REPL: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5454 +/- ##
==========================================
- Coverage 98.79% 98.79% -0.01%
==========================================
Files 238 238
Lines 9446 9445 -1
Branches 2403 2403
==========================================
- Hits 9332 9331 -1
Misses 48 48
Partials 66 66 ☔ View full report in Codecov by Sentry. |
159ff97 to
95da7f2
Compare
|
This PR has been released as part of rollup@4.14.1. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
When a user is running an unsupported MUSL Linux machine, the error message can be misleading as it states that the platform is unsupported while only the MUSL flavor may be unsupported.
This improves the error message by adding
(musl)next to the platform in those situations in the error message, so that it matches the format of supported architectures in the list below, e.g.