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

Panic test runner starts itself as child process with the test function index representing a test block. The custom panic handler compares a global previously written string. If the panic...

One thing I end of doing sometimes is constructing a table that maps all `u4` values to something else. I tend to do this with arrays: ```rust const channel_message_table =...

proposal

### Zig Version 0.11.0-dev.2775+21aa55d34 ### Steps to Reproduce and Observed Behavior Ref: - #15444 (same example code) - https://github.com/kassane/outcome/issues/1 - https://github.com/ziglang/zig/issues/5312 Switch target to MSVC. CI test: https://github.com/kassane/outcome/actions/runs/4789289937 ```bash $>...

bug

### Zig Version 0.11.0-dev.3658+5d9e8f27d ### Steps to Reproduce and Observed Behavior Edit: I posted a reduction a couple of comments below: ```zig const Foo = enum { a, }; test...

bug

This improves symbol resolution during incremental compilation mode where previously both externs and exports were not being resolved with existing global symbols. This PR ensures during `updateDeclExports` and `getOrPutImport` a...

Extracted from #13980. Here is a small test program: ```zig const std = @import("std"); const http = std.http; pub fn main() !void { var arena_instance = std.heap.ArenaAllocator.init(std.heap.page_allocator); const arena =...

bug
contributor friendly
standard library

search_strategy is no longer passed to Compilation at all; instead it is used in the CLI code only. When using Zig CLI mode, `-l` no longer has the ability to...

### Zig Version 0.11.0-dev.947+cf822c6dd ### Steps to Reproduce and Observed Behavior 1. `zig init-exe` 2. Copy the following into build.zig: ```zig const std = @import("std"); pub fn build(b: *std.build.Builder) void...

bug
zig build system

This enables this: ``` cpu% cat test.zig const std = @import("std"); const p9 = std.os.plan9; pub fn main() void { var buf: [50]u8 = undefined; const res = std.fmt.bufPrint(&buf, "argc:...

I apologize in advance for such huge breaking changes. "zig fmt" automatically renames `@stuffToStuff` to `@stuffFromStuff`, but you can also invoke simple `sed` stuff like: ```sh sed -i 's/@ptrToInt/@intFromPtr/g' whatever.zig...