mirror of
https://github.com/ziglang/zig.git
synced 2026-01-19 13:55:20 +00:00
Now that we ship our own linker for MachO by default in both stage1 and stage2, we need a way to enable logs for verbose debugging. This commit adds `ZIG_ENABLE_LOGGING` cmake option which is equivalent to stage2's `-Dlog` flag. To enable it when building stage1 with cmake, add: ``` cmake .. -DZIG_ENABLE_LOGGING=on ```
9 lines
358 B
Zig
9 lines
358 B
Zig
pub const have_llvm = true;
|
|
pub const version: [:0]const u8 = "@ZIG_VERSION@";
|
|
pub const semver = try @import("std").SemanticVersion.parse(version);
|
|
pub const enable_logging: bool = @ZIG_ENABLE_LOGGING_BOOL@;
|
|
pub const enable_tracy = false;
|
|
pub const is_stage1 = true;
|
|
pub const skip_non_native = false;
|
|
pub const omit_stage2: bool = @ZIG_OMIT_STAGE2_BOOL@;
|