zig-help

21196 threads · Page 249 of 424

Thread cleanup functions 13 messages
Android/iOS, fatal error: 'stdlib.h' file not found 5 messages
Standard Library 0.11.x New User
Is there a way to return an expression value in the statement blocks of the if statement? 2 messages
Answered
Type-Level Construction of the Peano Numbers 52 messages
Answered New User 0.13.x
Missing/corrupt stack traces 26 messages
0.13.x
ZLS 7 messages
New User
Why does Zig not include the musl dlopen src? 81 messages
Standard Library Compiler
How to check if a type is a float or a complex number 19 messages
Standard Library 0.13.x
address of an optional payload 5 messages
Answered
std.json.stringifyAlloc on []u8 slice produces strange results 40 messages
optionals at runtime 68 messages
Compiler
Pass [][]u8 to `std.json.parseFromSlice` ? 10 messages
Is there a way to force unrolling of a loop? 2 messages
Answered
How to set clang version with CMake to build Zig 7 messages
LPVOID conversion from comptime_int 2 messages
JSON stringifyAlloc segfault on slice 91 messages
Copy string to array of u8's 6 messages
Answered
if statement with union type? 6 messages
Tripping WaitGroup assertion when using Thread.Pool 18 messages
Answered
What does it mean to subtract ASCII digits in Zig? 6 messages
New User 0.13.x
Close unix socket 17 messages
0.13.x
Has anybody gotten any success building zig 0.12.x on Haiku? 187 messages
Compiler 0.13.x
Unable to compile from source on FreeBSD 14.0-RELEASE-p5 (probably local issue) 6 messages
Answered
Compile assembly with zig build 4 messages
New User Compiler Answered 0.13.x
How to interface pure C++ library exposing only C++ headers? 4 messages
Answered
Is there any windows native gui library in zig? 4 messages
How to import zigstr on Master 10 messages
New User 0.13.x
Help translating Haskell code. 66 messages
New User Answered 0.13.x
what should I pass in anyopaque type? 16 messages
0.11.x New User
how do i initialize an array without populating it? 15 messages
New User Answered
Concatenation of slices produces a weird error 42 messages
atomics? multi-producer, single-consumer fifo queue 18 messages
check for err or null instead of value 3 messages
expected type '[]u8', found '[]const u8' - pg.zig `query` with optional string 9 messages
Unable to resolve comptime value 25 messages
New User Answered
Memory leak in AutoArrayHashMap.putNoClobber() with std.testing.allocator 4 messages
BPF ELF executable 10 messages
What should I use to add closed source static or shared library in `build.zig`? 6 messages
Answered
Weird compiler error - invalid format string 's' for type 'usize' 15 messages
Compiler 0.13.x
Does zig support `.zip` package extensions in `build.zig.zon`? 2 messages
Answered
Updated RLS docs 179 messages
Answered
How the `zig` unit test prints information 3 messages
bufferedReader in tests 27 messages
How to convert a @Vector(32, bool) into bit fields held in a u32? 27 messages
Answered
Fancy deinit 8 messages
Answered
Writer/Reader with asyncronous state 8 messages
how is this valid zig code? 19 messages
0.11.x New User
Building and using shared libraries in zig 3 messages
New User 0.13.x
can't switch zig version 13 messages
Answered
how to use a dependency installed via .zon 19 messages
0.11.x