Programming Search⌘K

std.Build

The entries of std.Build in the Zig reference. This page has 131 cards.

std.Build.addModule

pub fn addModule(b: *Build, name: []const u8, options: Module.CreateOptions) *Module

This function creates a module and adds it to the package's module set, making it available to other packages which depend on this one. `createModule` can be used instead to create a private module.

Kind
function
Module
std.Build

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.Build.createModule

pub fn createModule(b: *Build, options: Module.CreateOptions) *Module

This function creates a private module, to be used by the current package, but not exposed to other packages depending on this one. `addModule` can be used instead to create a public module.

Kind
function
Module
std.Build

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.

std.Build.Graph.path

pub fn path(graph: *Graph, base: Configuration.LazyPath.Relative.Base, sub_path: []const u8) LazyPath

A path whose components and contents are known at some point during `Step` resolution, relative to the provided base directory.

Kind
function
Module
std.Build

Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.