master
1const std = @import("std");
2
3pub fn build(b: *std.Build) void {
4 const test_step = b.step("test", "Test it");
5 b.default_step = test_step;
6
7 const dep1 = b.dependency("other", .{});
8
9 const dep2 = b.dependencyFromBuildZig(@import("other"), .{});
10
11 std.debug.assert(dep1.module("add") == dep2.module("add"));
12}