zig icon indicating copy to clipboard operation
zig copied to clipboard

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Results 2216 zig issues
Sort by recently updated
recently updated
newest added

### Zig Version 0.12.0-dev.3405+31791ae15 ### Steps to Reproduce and Observed Behavior ```zig test "bitcast packed union to integer" { const U = packed union { x: u1, y: u2, };...

bug
frontend
miscompilation

### Zig Version 0.12.0-dev.3397+43edd53c3 ### Steps to Reproduce and Observed Behavior ```zig fn foo() !noreturn { while (true) {} } pub fn main() !void { try foo() catch |err| {...

bug

Violations: ``` ../lib/std/os.zig:pub const have_sigpipe_support = @hasDecl(@This(), "SIG") and @hasDecl(SIG, "PIPE"); ../lib/std/os.zig: if (@hasDecl(system, "pipe2")) { ../lib/std/debug.zig:pub const have_ucontext = @hasDecl(os.system, "ucontext_t") and ../lib/std/debug.zig:pub const have_getcontext = @hasDecl(os.system, "getcontext") and...

bug
standard library

### Zig Version 0.11.0-dev.168+b2ffe113d ### Steps to Reproduce and Observed Behavior ```zig const c = struct { pub usingnamespace @cImport({ @cInclude("stdlib.h"); }); }; test { _ = c; } ```...

bug
frontend
miscompilation

| Sequence | Name | {N} | | -------- | ----------------- | --------------------- | | `\x{N}` | hexadecimal value | 32 digits >= 1 digits | | | | |...

proposal

### Zig Version 0.11.0-dev.3803+7ad104227 ### Steps to Reproduce and Observed Behavior The `cmake` and `autoconf` styles of `ConfigHeader` take a `FileSource` for the input header, and do indeed work with...

bug
contributor friendly
zig build system

### Zig Version 0.10.0 ### Steps to Reproduce and Observed Behavior ``` zig var exe_zig4 = builder.addExecutable ("main_zig4", null); var exe_zig5 = builder.addExecutable ("main_zig5", "main.zig"); exe_zig4.addObject (builder.addObject ("main.zig", "main.zig")); exe_zig4.addIncludePath...

bug
zig build system

When creating a shared library for use as a plugin in existing programs/languages, you often need to follow certain naming conventions, e.g. `myprogram-plugin-b.so`. I can't seem to find a way...

contributor friendly
proposal
accepted
zig build system

Extracted from https://github.com/ziglang/zig/pull/14647. Running unit tests via the build system in release mode with a failure currently looks like this: ```zig const std = @import("std"); test "oops" { try std.testing.expect(false);...

enhancement
contributor friendly
zig build system

Extracted from https://github.com/ziglang/zig/pull/14647. Redefine it to: print to stderr the commandline before spawning any child process. Audit all uses of the verbose flag and all child process invocations. https://github.com/ziglang/zig/blob/68c7261e1daf7787dcbf0cd6f9b01e5678d20a93/lib/build_runner.zig#L117-L118 https://github.com/ziglang/zig/blob/68c7261e1daf7787dcbf0cd6f9b01e5678d20a93/lib/build_runner.zig#L946

breaking
zig build system