zig-help

21196 threads · Page 138 of 424

Pass generic function body? 19 messages
Why the need for .? when already checked for null 11 messages
Zig being weird in neovim 3 messages
New User
Calling a function when runtime data changes. Is it possible with Zig? 24 messages
0.14.x Standard Library 0.13.x
How to choose glibc version ? 24 messages
Answered
Can someone please school me a little on `reader`s and `writer`s? 7 messages
Standard Library New User Answered
Proper way to wrap C struct from a shared lib 13 messages
Using Threads 18 messages
Using a slice in realloc 5 messages
Answered
Is there any way to make BVH_Node generic but only accept types returned by vec.Vec? 5 messages
Can't embed files outside `./src`? 64 messages
0.14.x Answered
Functions that return slices confusion 39 messages
Answered
Why does compileLog output from all of these branches 38 messages
New User Answered 0.13.x
`@log()` doesn't generate SIMD instructions when used on vectors 5 messages
0.14.x Compiler
Confused about something while doing ziglings 26 messages
New User Answered
`error: expansion of date or time macro is not reproducible` upon build of Stockfish w/Zig 18 messages
Build System 0.14.x New User
Strange `std.StringHashMap` panic when using `getOrPut` 29 messages
Standard Library
Pointer being weird 6 messages
New User Answered 0.13.x
how do you properly join an fs.Dir with a path? 5 messages
How do I specify that a variable is of type "std.zip.Iterator.Entry"? 6 messages
New User Answered
"null function or function signature mismatch" in Emscripten builds 83 messages
is it possible to change the log level during `zig test`? 10 messages
Answered
std/json/stringify: error: cannot load opaque type 'anyopaque' 13 messages
New User Standard Library Answered 0.13.x
close constant dir 14 messages
Answered 0.13.x
hair-splitting questions about slices vs arrays 30 messages
0.14.x New User Answered
Can't use comptime value in switch statement? 4 messages
0.14.x Answered
zig struct function can't find other function 12 messages
Answered
Build.zig: Compiling a dependency from build.zig.zon as a library 133 messages
Build System 0.13.x
Undefined symbol from translate-c not translating a function body in a single header file 8 messages
Build System 0.13.x
An infinite loop occurs in Debug mode, but everything works fine in Release+Any! 12 messages
Zig reader.readUntilDelimiterOrEof help 7 messages
New User Answered 0.13.x
Generating an interface helper function 34 messages
Answered
How to properly use the Zap ThreadPool ? 14 messages
Answered
[QoL] how to add a message to unreachable 22 messages
Answered
Generic fn pointer 11 messages
Answered
build zig windows 15 messages
0.13.x
Allocator destroy 25 messages
0.14.x New User Answered
Just looking for code review (primarily structure) 62 messages
0.14.x
Question about types generated by functions 9 messages
New User 0.13.x
Transpile to C With Build System 23 messages
Build System
a struct holding a slice 4 messages
Question about pointers 3 messages
New User Answered
is there a `url_encode` function in stdlib? 4 messages
Array concatenation works if the values are known at compile time. Need example code to understand 24 messages
Inline functions? 6 messages
undefined symbol when using zig build for c++ with opencv4 9 messages
Answered
Can not figure out how to import the SDL zig wrapper 5 messages
Answered
build error (solved) 15 messages
Build System
Not seeing a triangle after reaching that with learnopengl 36 messages
0.14.x Answered
Making a module aware of another module? 4 messages