zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.9.1 ### Steps to Reproduce Build zig on macOS 12.4 ### Expected Behavior It builds ### Actual Behavior ``` :info:destroot -- Installing: /opt/local/lib :info:destroot error(link): undefined reference...
### Zig Version 0.10.0-dev.4253+fa9327ac0 ### Steps to Reproduce 1. Given this file `crash.zig` ``` pub fn main() !void { const x: [2]i8 = .{0}; _ = x; } ``` 2....
This ensures that the Zig version will be re-computed when jumping through the source tree. This can be important if bisecting across, e.g. AstGen, changes that must not use the...
### Zig Version 0.10.0 ### Steps to Reproduce and Observed Behavior ``` $ cat main.c #include int main() { printf("Hello World\n"); } $ zig cc main.c -target aarch64-linux-musl In file...
### Zig Version 0.10.0 ### Steps to Reproduce and Observed Behavior Building for any `-windows-gnu` target, where `` is `i386`, `x86_64`, or `aarch64` results in a large amount of warnings:...
DynLib fails to open and parse libGL.so un linux (Ubuntu 20.04 x64) due to error.ElfHashTableNotFound. std.elf.readAllHeaders seems to parse the header okay, maybe ElfDynLib should use that.
After this commit, the self-hosted compiler does not offer the option to use stage1 as a backend anymore. Merge blockers: * #6025 * #12756 * #12880 * #13077
### Zig Version 0.11.0-dev.3+0bbb00035 ### Steps to Reproduce and Observed Behavior ```zig const S = struct { x: i32 = 1234, fn method(s: ?S) void { _ = s; }...
### Zig Version c22f17e15 ### Steps to Reproduce and Observed Behavior On macOS Ventura 13.0 (22A380) with clang-1400.0.29.202 targetting x86_64-apple-darwin22.1.0 ``` $ brew install zig --HEAD ==> Cloning https://github.com/ziglang/zig.git Updating...
This doesn't make any breaking changes to the API, but it does add capabilities and change some behaviors, namely it adds the ability to add a type as an option,...