zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit dfe430e9f488536c6ce4be23473f60aa5e89ab5a (tree)
parent 0157e1196c77702f07d44c63c71246ff5e5616f1
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Mon, 26 Feb 2024 23:14:57 -0700

move lazily compiled source files to lib/compiler/

Diffstat:
Rlib/build_runner.zig -> lib/compiler/build_runner.zig | 0
Rlib/std/zig/fmt.zig -> lib/compiler/fmt.zig | 0
Rlib/std/zig/reduce.zig -> lib/compiler/reduce.zig | 0
Rlib/std/zig/reduce/Walk.zig -> lib/compiler/reduce/Walk.zig | 0
Rlib/test_runner.zig -> lib/compiler/test_runner.zig | 0
Msrc/main.zig | 8++++++--
6 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/lib/build_runner.zig b/lib/compiler/build_runner.zig diff --git a/lib/std/zig/fmt.zig b/lib/compiler/fmt.zig diff --git a/lib/std/zig/reduce.zig b/lib/compiler/reduce.zig diff --git a/lib/std/zig/reduce/Walk.zig b/lib/compiler/reduce/Walk.zig diff --git a/lib/test_runner.zig b/lib/compiler/test_runner.zig diff --git 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, };