Skip to content

Commit dfe430e

Browse files
committed
move lazily compiled source files to lib/compiler/
1 parent 0157e11 commit dfe430e

File tree

6 files changed

+6
-2
lines changed

6 files changed

+6
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/main.zig

+6-2
Original file line numberDiff line numberDiff line change
@@ -2739,6 +2739,7 @@ fn buildOutputType(
27392739
.paths = .{
27402740
.root = .{
27412741
.root_dir = zig_lib_directory,
2742+
.sub_path = "compiler",
27422743
},
27432744
.root_src_path = "test_runner.zig",
27442745
},
@@ -5385,7 +5386,10 @@ fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !void {
53855386
},
53865387
.root_src_path = fs.path.basename(runner),
53875388
} else .{
5388-
.root = .{ .root_dir = zig_lib_directory },
5389+
.root = .{
5390+
.root_dir = zig_lib_directory,
5391+
.sub_path = "compiler",
5392+
},
53895393
.root_src_path = "build_runner.zig",
53905394
};
53915395

@@ -5767,7 +5771,7 @@ fn jitCmd(
57675771
const main_mod_paths: Package.Module.CreateOptions.Paths = .{
57685772
.root = .{
57695773
.root_dir = zig_lib_directory,
5770-
.sub_path = "std/zig",
5774+
.sub_path = "compiler",
57715775
},
57725776
.root_src_path = root_src_path,
57735777
};

0 commit comments

Comments
 (0)