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
Include the rustup target add step in the cross-compile assistance text
In order to compile buildpacks, users need to have both the musl
toolchain and the Rust target installed.
If the musl toolchain is missing, we already showed help text that
says what packages need to be installed.
However, this help text did not mention the Rust target, meaning
after installing the musl tools, users would then go on to receive
another error - this time from the Rust compiler.
Whilst the Rust compiler error message does suggest running the
`rustup target add` command itself:
- this suggestion is often lost in the noise:
rust-lang/rust#117640
- it means the users has had two failed attempts in a row, which
could make the experience feel open-ended/frustrating
Now, the cross-compile assistance help text also suggests the
`rustup target add` step, improving the UX slightly.
The help texts are starting to include a fair bit of duplication, however,
refactoring is covered by the separate #727.
Fixes#716.
GUS-W-14438920.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
### Changed
13
13
14
14
- Improved the consistency of all user-facing libcnb.rs error message wordings. ([#722](https://github.com/heroku/libcnb.rs/pull/722))
15
+
- The assistance error message shown when the necessary cross-compilation tools are not found now also includes the `rustup target add` step. ([#729](https://github.com/heroku/libcnb.rs/pull/729))
0 commit comments