authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-06-24 00:45:53-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-06-24 20:09:42+02:00
logb52a2ff73bb5796995c54f2ba7b9cf5f8ee38297
tree63be32f6276c9999fc7a80398666b9eb4a737b2b
parent39a9a4b2cae0ef94eb4aea482dabf275fdd0a910

build: compiler no longer depends on aro module

Thanks to 0b22111bc94f6fc53f0565c386487ea772ae996c there is no more `@import("aro")`.

3 files changed, 0 insertions(+), 10 deletions(-)

CMakeLists.txt-2
...@@ -678,10 +678,8 @@ set(BUILD_ZIG2_ARGS...@@ -678,10 +678,8 @@ set(BUILD_ZIG2_ARGS
678 -femit-bin="${ZIG2_C_SOURCE}"678 -femit-bin="${ZIG2_C_SOURCE}"
679 -target "${ZIG_HOST_TARGET_TRIPLE}"679 -target "${ZIG_HOST_TARGET_TRIPLE}"
680 --dep "build_options"680 --dep "build_options"
681 --dep "aro"
682 "-Mroot=src/main.zig"681 "-Mroot=src/main.zig"
683 "-Mbuild_options=${ZIG_CONFIG_ZIG_OUT}"682 "-Mbuild_options=${ZIG_CONFIG_ZIG_OUT}"
684 "-Maro=lib/compiler/aro/aro.zig"
685)683)
686684
687add_custom_command(685add_custom_command(
bootstrap.c-2
...@@ -202,10 +202,8 @@ int main(int argc, char **argv) {...@@ -202,10 +202,8 @@ int main(int argc, char **argv) {
202 "--name", "zig2", "-femit-bin=zig2.c",202 "--name", "zig2", "-femit-bin=zig2.c",
203 "-target", host_triple,203 "-target", host_triple,
204 "--dep", "build_options",204 "--dep", "build_options",
205 "--dep", "aro",
206 "-Mroot=src/main.zig",205 "-Mroot=src/main.zig",
207 "-Mbuild_options=config.zig",206 "-Mbuild_options=config.zig",
208 "-Maro=lib/compiler/aro/aro.zig",
209 NULL,207 NULL,
210 };208 };
211 print_and_run(child_argv);209 print_and_run(child_argv);
build.zig-6
...@@ -790,12 +790,6 @@ fn addCompilerMod(b: *std.Build, options: AddCompilerModOptions) *std.Build.Modu...@@ -790,12 +790,6 @@ fn addCompilerMod(b: *std.Build, options: AddCompilerModOptions) *std.Build.Modu
790 .valgrind = options.valgrind,790 .valgrind = options.valgrind,
791 });791 });
792792
793 const aro_mod = b.createModule(.{
794 .root_source_file = b.path("lib/compiler/aro/aro.zig"),
795 });
796
797 compiler_mod.addImport("aro", aro_mod);
798
799 return compiler_mod;793 return compiler_mod;
800}794}
801795