Skip to content

Commit 5a8e952

Browse files
committed
prepare.cppm: fix three /* name=*/ argument comments broken by the first rename
The recursive prepare_build(...) call for a host tool sub-build named its own arguments in /*param=*/value comments; the original word- boundary rename touched these too (block comments were never excluded, only // comments and later hardened against). A file-wide scan for /*...state.<name>...*/ found exactly these three and nothing else. Golden fixture diff against the baseline is empty.
1 parent 38b1ea5 commit 5a8e952

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/build/prepare.cppm‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10971,9 +10971,9 @@ prepare_build(bool print_fingerprint,
1097110971
sub.tool_chain, sub.work_dir.string(),
1097210972
depPkg.root.string());
1097310973
};
10974-
auto subCtx = prepare_build(/*state.print_fingerprint=*/false,
10975-
/*state.includeDevDeps=*/false,
10976-
/*state.extraTargets=*/{}, sub);
10974+
auto subCtx = prepare_build(/*print_fingerprint=*/false,
10975+
/*includeDevDeps=*/false,
10976+
/*extraTargets=*/{}, sub);
1097710977
if (!subCtx) {
1097810978
return std::unexpected(std::format(
1097910979
"building host tool '{}:{}' failed: {}{}",

0 commit comments

Comments
 (0)