ww: finish initialization validation parity
This commit is contained in:
@@ -5959,11 +5959,6 @@ fn buildonesepimpl(selfdir: *u8, src: *u8, entryisdir: i32,
|
||||
&& !g.pkg[products[0].root].failed
|
||||
&& !seprootiscommand(&g.pkg[products[0].root]);
|
||||
if (sepvalidateartifactpaths(g, scratch) < 0) { return 1; };
|
||||
if (sepvalidaterequeststaging(g, scratch, warm, products, nproducts,
|
||||
rootpackage, publishpackage, emitasm, istest) < 0) {
|
||||
sepfreeproductstaging(products, nproducts);
|
||||
return 1;
|
||||
};
|
||||
if (warm && workdirexists
|
||||
&& sepvalidateworkdirowners(g, scratch) < 0) { return 1; };
|
||||
let ci: i32 = 0;
|
||||
@@ -6064,6 +6059,11 @@ fn buildonesepimpl(selfdir: *u8, src: *u8, entryisdir: i32,
|
||||
producti += 1;
|
||||
};
|
||||
if (!viableproduct) { return 1; };
|
||||
if (sepvalidaterequeststaging(g, scratch, warm, products, nproducts,
|
||||
rootpackage, publishpackage, emitasm, istest) < 0) {
|
||||
sepfreeproductstaging(products, nproducts);
|
||||
return 1;
|
||||
};
|
||||
// Source-derived resolution and contextual legality are complete before
|
||||
// coordinator completion markers or persistent vouchers are changed.
|
||||
let createdoutput: sepcreateddirs;
|
||||
|
||||
Reference in New Issue
Block a user