mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 15:19:07 +00:00
12 lines
325 B
Zig
12 lines
325 B
Zig
const std = @import("std");
|
|
|
|
pub fn build(b: *std.Build) void {
|
|
const test_step = b.step("test", "Test it");
|
|
b.default_step = test_step;
|
|
|
|
const dep1 = b.dependency("other", .{});
|
|
|
|
const dep2 = b.dependencyFromBuildZig(@import("other"), .{});
|
|
|
|
std.debug.assert(dep1.module("add") == dep2.module("add"));
|
|
}
|