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

This is proposal for a small feature, local and isolated. Could improve code readability. ------------ Linux kernel uses macros `likely` and `unlikely` : ``` if (likely(x > 0)) { ......

proposal

## Motivation * Make using floating point values in game development less cumbersome. It should be low friction to convert a float to an int. A chained builtin is too...

enhancement
proposal

### Zig Version 0.11.0 ### Steps to Reproduce and Observed Behavior ```console ❯ echo "#include " > test.c ❯ mkdir -p sys/usr/include ❯ touch sys/usr/include/test.h ❯ gcc --sysroot=$PWD/sys test.c -shared...

bug

### Zig Version 0.12.0-dev.3652+a59ad719d ### Steps to Reproduce and Observed Behavior Code: ```zig const std = @import("std"); pub fn main() void { var a: f32 = 5.0; var b: f32...

bug
frontend

Natvis[^1] is a framework to support programmer-defined type formatting when debugging. It's similar to the GDB/LLDB pretty printers in tools except that the files are embedded into PDBs as-is instead...

See #684

enhancement
standard library

would it be possible to add distinct types? for example, to make it an error to pass a `GLuint` representing a shader as the program for `glAttachShader`.

proposal

Simplifies code in docs creation where we used `std.tar.output.Header.` Writer uses that Header internally and provides higher level interface. Updates checksum on write, handles long file names, allows setting mtime...

### Zig Version 0.12.0-dev.3533+e5d900268 ### Steps to Reproduce and Observed Behavior ```zig pub fn main() !void { const v1 = 1 / 2 * 0.1; const v2 = 1.0 /...

bug

- in a normal bitwise left shift `b` must be comptime-known or have a type with log2 number of bits as `a`. this is not the case in `|` to...

proposal