re-integrate stack trace tests with the new std.Build API
* RunStep: ability to set stdin * RunStep: ability to capture stdout and stderr as a FileSource * RunStep: add setName method * RunStep: hash the stdio checks
This commit is contained in:
@@ -189,10 +189,9 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void {
|
||||
if (try step.cacheHit(&man)) {
|
||||
const digest = man.final();
|
||||
for (wf.files.items) |file| {
|
||||
file.generated_file.path = try b.cache_root.join(
|
||||
b.allocator,
|
||||
&.{ "o", &digest, file.sub_path },
|
||||
);
|
||||
file.generated_file.path = try b.cache_root.join(b.allocator, &.{
|
||||
"o", &digest, file.sub_path,
|
||||
});
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -249,10 +248,9 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void {
|
||||
},
|
||||
}
|
||||
|
||||
file.generated_file.path = try b.cache_root.join(
|
||||
b.allocator,
|
||||
&.{ cache_path, file.sub_path },
|
||||
);
|
||||
file.generated_file.path = try b.cache_root.join(b.allocator, &.{
|
||||
cache_path, file.sub_path,
|
||||
});
|
||||
}
|
||||
|
||||
try man.writeManifest();
|
||||
|
||||
Reference in New Issue
Block a user