aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-02-26 23:14:57 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-02-26 23:43:56 -0700
commitdfe430e9f488536c6ce4be23473f60aa5e89ab5a (patch)
tree659fda01e693b129a6c28313d4b3c8b075d3e465 /src/main.zig
parent0157e1196c77702f07d44c63c71246ff5e5616f1 (diff)
downloadzig-dfe430e9f488536c6ce4be23473f60aa5e89ab5a.tar.gz
zig-dfe430e9f488536c6ce4be23473f60aa5e89ab5a.zip
move lazily compiled source files to lib/compiler/
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig
index b80070fd35..668bc61a77 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -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,
};