Shared state among all Build instances. Settings that are here rather than in Build are not configurable per-package.
arena: Allocatorsystem_library_options: std.StringArrayHashMapUnmanaged(SystemLibraryMode) = .emptysystem_package_mode: bool = falsedebug_compiler_runtime_libs: bool = falsecache: Cachezig_exe: [:0]const u8env_map: EnvMapneeded_lazy_dependencies: std.StringArrayHashMapUnmanaged(void) = .emptyhost: ResolvedTargetInformation about the native target. Computed before build() is invoked.
incremental: ?bool = nullrandom_seed: u32 = 0dependency_cache: InitializedDepMap = .emptyallow_so_scripts: ?bool = nullpub 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,
}