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

The current event loop is not ready yet (relatively slow, windows unfinished, bugs/races) and many wish for it to be. From the discord communities at least, there seems to be...

standard library
proposal
accepted

### Zig Version 0.10.0-dev.4476+0f0076666 ### Steps to Reproduce ``` const std = @import("std"); pub fn main() !void { std.debug.print("begin...\n", .{}); std.debug.print("{}\n", .{std.mem.bytesToValue(usize, &[_]u8{ 49, 48, 48 })}); //not work std.debug.print("{!}\n",...

bug
stage2

I was playing around with the latest version of Zig (https://ci.appveyor.com/project/andrewrk/zig-d3l86/build/0.2.0+95f45cfc) on ARM Cortex-M0 and I had a lot of issues with missing compiler_rt functions. It was missing '__aeabi_memcpy' It...

contributor friendly
standard library

Please have a look at https://github.com/upx/upx-test-build-with-zig, a tiny repository that consists of a single GitHub Actions workflow file to build the C++ app [UPX](https://github.com/upx/upx) for 51 different targets, and also...

bug
zig cc

### Zig Version 0.10.0-dev.4185+9c2fb6e18 ### Steps to Reproduce ```zig const std = @import("std"); test "sentinel slice zeroes" { const S = struct { ss: [:0]const u8, }; var a: S...

bug
standard library

I discovered when I was benchmarking some parser code I was working on. As the title states, the current implementation of `std.mem.eql` is very naive: https://github.com/ziglang/zig/blob/bf67a3fdc9efea7126058b21e687c24868bc1268/lib/std/mem.zig#L485-L493 It iterates over slices...

enhancement
optimization
standard library

## Environment * Linux with x86_64 kernel and i386 glibc userspace * Zig snapshot from `zig-linux-x86_64-0.8.0-dev.1104+5e81b048a.tar.xz` tarball ``` $ zig version 0.8.0-dev.1104+5e81b048a ``` ## Minimal reproducible example ```zig // dummy.zig...

bug
stage1

I'm attempting to build a .NET NativeAOT project using `zig c++ -target x86_linux-gnu` as the system compiler/linker, so that it can build with a low glibc (2.17) instead of my...

bug
os-linux
arch-x86_64

Packed memory has a well-defined layout that doesn't require actually using a BigInt to read from. Let's use it :-) Included changes: - Adds `readPackedInt`, `writePackedInt` and friends to `std.mem`...

### Zig Version 0.10.0-dev.4403+f9192adab ### Steps to Reproduce using current prebuild binary using a default helloworld.c in /somewhere/hello/: `#include ` `int main(int argc, char **argv) { printf("Hello World\n"); return 0;...

os-linux
arch-x86_64