configure runner: serialization of Module

This commit is contained in:
Andrew Kelley
2026-02-16 16:02:31 -08:00
parent 648e0e0cc0
commit 3e6bebbbca
4 changed files with 824 additions and 36 deletions
+8 -7
View File
@@ -1,3 +1,11 @@
const Module = @This();
const std = @import("std");
const assert = std.debug.assert;
const LazyPath = std.Build.LazyPath;
const Step = std.Build.Step;
const ArrayList = std.ArrayList;
/// The one responsible for creating this module.
owner: *std.Build,
root_source_file: ?LazyPath,
@@ -703,10 +711,3 @@ pub fn getGraph(root: *Module) Graph {
root.cached_graph = result;
return result;
}
const Module = @This();
const std = @import("std");
const assert = std.debug.assert;
const LazyPath = std.Build.LazyPath;
const Step = std.Build.Step;
const ArrayList = std.ArrayList;