Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Commit cbd3852

Browse files
committed
Respect disable-aro option in build.zig.
1 parent 3f03ab6 commit cbd3852

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.zig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ pub fn build(b: *std.Build) anyerror!void {
107107
.optimize = optimize_opt,
108108
});
109109

110-
graf_mod.addImport("aro", aro_dep.module("aro"));
110+
if (!disable_aro_opt) {
111+
graf_mod.addImport("aro", aro_dep.module("aro"));
112+
}
111113

112114
b.installDirectory(.{
113115
.source_dir = aro_dep.path("include"),

0 commit comments

Comments
 (0)