Skip to content

Commit 716a1c0

Browse files
committed
refactor(ui): the toolchain degradation line says only what the Runtime note did not
1 parent c2108ea commit 716a1c0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/build/prepare.cppm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -989,12 +989,12 @@ prepare_build(bool print_fingerprint,
989989
const std::filesystem::path& payloadRoot) {
990990
if (outcome.skippedReason.empty()) return;
991991
if (!fixupNoticed->insert(payloadRoot.generic_string()).second) return;
992+
// Only the fact this line ADDS. The `Runtime` note above already gave
993+
// the cause and the remedy for the same absence; repeating them here
994+
// would be the second copy of one message, which is the habit mcpp#417
995+
// exists to break.
992996
mcpp::ui::info("Toolchain", std::format(
993-
"not bound to a C runtime: {}.\n"
994-
" The toolchain is used as installed. If a compile later "
995-
"reports a missing libc header, or the hermeticity check refuses "
996-
"the link, this is why — `xlings self update` writes the SubOS "
997-
"description that supplies it.",
997+
"used as installed — not patched against a C runtime ({})",
998998
outcome.skippedReason));
999999
};
10001000

0 commit comments

Comments
 (0)