Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

lazyDependency

Deprecated in favor of dependencyLazy.

Build.lazyDependency
pub fn lazyDependency(b: *Build, name: []const u8, args: anytype) ?*Dependency

File

lib/std/Build.zig:2132

Code

pub fn lazyDependency(b: *Build, name: []const u8, args: anytype) ?*Dependency {
    return dependencyLazy(b, name, args) catch |err| switch (err) {
        error.LazyDependencyNeeded => null,
    };
}