move lazily compiled source files to lib/compiler/

This commit is contained in:
Andrew Kelley committed 2024-02-26 23:43:56 -07:00
1 parent 0157e1196c
commit dfe430e9f4
6 files changed
+6 -2

No files matched your search

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+6 -2
View File
@@ -2739,6 +2739,7 @@ fn buildOutputType(
.paths = .{
.root = .{
.root_dir = zig_lib_directory,
.sub_path = "compiler",
},
.root_src_path = "test_runner.zig",
},
@@ -5385,7 +5386,10 @@ fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !void {
},
.root_src_path = fs.path.basename(runner),
} else .{
.root = .{ .root_dir = zig_lib_directory },
.root = .{
.root_dir = zig_lib_directory,
.sub_path = "compiler",
},
.root_src_path = "build_runner.zig",
};
@@ -5767,7 +5771,7 @@ fn jitCmd(
const main_mod_paths: Package.Module.CreateOptions.Paths = .{
.root = .{
.root_dir = zig_lib_directory,
.sub_path = "std/zig",
.sub_path = "compiler",
},
.root_src_path = root_src_path,
};