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

These are small helpers that re-order the fields of a `packed struct` to provide either: - `Stage1Layout(T)` - Layout compatibility with stage1, a temporary helper until users can re-define their...

Boxes without check marks do not have test coverage. | | f16 | f32 | f64 | f128 | c_longdouble | |-------------|-----|-----|-----|------|--------------| | `@sqrt` | ✓ | ✓ | ✓...

enhancement
contributor friendly
standard library
stage1

Closes #1150 Closes #1188 Closes #1292 Closes #1385 Closes #1487 Closes #1719 Closes #1814 Closes #707

### Zig Version 0.10.0-dev.2473+e498fb155 Like the title says: zig cc frontend cannot compile a dynaimcally-linked musl binary. Created a separate issue as requested by @ifreund in https://github.com/ziglang/zig/issues/5364#issuecomment-1163025810 ### Full repro...

bug
os-linux
miscompilation
zig cc

### Zig Version 0.10.0-dev.4430+78778899 ### Steps to Reproduce ```zig const std = @import("std"); const expect = std.testing.expect; test "bitcast vector to integer and back" { var x = @splat(16, true);...

bug
stage2
backend-llvm
regression

* Port Boyer-Moore-Horspool algorithm and relevant tests from std.mem.indexOfPos * Remove TODO doc comment * Fix/provide doc comments

Summary: multiple `zig` invocations can stumble upon each other when they are creating glibc stubs. Steps to reproduce ------------------------- **main.c** ``` int main() {} ``` Command: run `zig c++` many...

bug
os-linux
stage2

### Zig Version 0.10.0-dev.4437+1e963053d ### Steps to Reproduce Try to compile stb_image v2.27 library: ```zig const c = @cImport({ @cDefine("STB_IMAGE_IMPLEMENTATION", {}); @cDefine("STBI_ONLY_PNG", {}); @cDefine("STBI_NO_STDIO", {}); @cInclude("stb_image.h"); }); pub fn main()...

bug
stage2

### Zig Version 0.10.0-dev.4425+f36aee93c ### Steps to Reproduce This code should ignore sigpipe signal. I'm pretty sure it was working ```zig const std = @import("std"); pub fn main() !void {...

bug
standard library
arch-aarch64
arch-sparc64