File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3312,10 +3312,8 @@ prepare_build(bool print_fingerprint,
33123312 legacy.assign(std::istreambuf_iterator<char>(in), {});
33133313 return legacy == want;
33143314 };
3315- if (have != want) {
3316- // Set by the gate below when a legacy stamp lets an
3317- // offline build proceed without an attempt.
3318- bool provisioned = false;
3315+ bool needProvision = (have != want);
3316+ if (needProvision) {
33193317 // ⚠️ THE AUTO-INSTALL GATE, WHICH THIS PATH DID NOT HAVE.
33203318 //
33213319 // `[toolchain]` is the precedent this whole mechanism cites
@@ -3369,9 +3367,10 @@ prepare_build(bool print_fingerprint,
33693367 // Deliberately NOT writing the registry stamp: nothing
33703368 // here verified anything, and a record of a check that
33713369 // did not happen is the defect this release removes.
3372- provisioned = true ;
3370+ needProvision = false ;
33733371 }
3374- if (!provisioned) {
3372+ }
3373+ if (needProvision) {
33753374 mcpp::ui::status("Provisioning",
33763375 std::format("[xlings] deps ({})",
33773376 join_deps(", ")));
@@ -3473,7 +3472,6 @@ prepare_build(bool print_fingerprint,
34733472 std::error_code sec;
34743473 std::filesystem::create_directories(stamp.parent_path(), sec);
34753474 if (std::ofstream out{stamp}; out) out << want;
3476- } // if (!provisioned)
34773475 }
34783476 }
34793477
You can’t perform that action at this time.
0 commit comments