structstd.Build.Graph[src]

Shared state among all Build instances. Settings that are here rather than in Build are not configurable per-package.

Fields

arena: Allocator
system_library_options: std.StringArrayHashMapUnmanaged(SystemLibraryMode) = .empty
system_package_mode: bool = false
debug_compiler_runtime_libs: bool = false
cache: Cache
zig_exe: [:0]const u8
env_map: EnvMap
global_cache_root: Cache.Directory
zig_lib_directory: Cache.Directory
needed_lazy_dependencies: std.StringArrayHashMapUnmanaged(void) = .empty
host: ResolvedTarget

Information about the native target. Computed before build() is invoked.

incremental: ?bool = null
random_seed: u32 = 0
dependency_cache: InitializedDepMap = .empty
allow_so_scripts: ?bool = null

Source Code

Source code
pub const Graph = struct {
    arena: Allocator,
    system_library_options: std.StringArrayHashMapUnmanaged(SystemLibraryMode) = .empty,
    system_package_mode: bool = false,
    debug_compiler_runtime_libs: bool = false,
    cache: Cache,
    zig_exe: [:0]const u8,
    env_map: EnvMap,
    global_cache_root: Cache.Directory,
    zig_lib_directory: Cache.Directory,
    needed_lazy_dependencies: std.StringArrayHashMapUnmanaged(void) = .empty,
    /// Information about the native target. Computed before build() is invoked.
    host: ResolvedTarget,
    incremental: ?bool = null,
    random_seed: u32 = 0,
    dependency_cache: InitializedDepMap = .empty,
    allow_so_scripts: ?bool = null,
}