zig-help

21196 threads · Page 280 of 424

Turning a comptime array into a comptime tuple 5 messages
Assert direct values in tests 10 messages
Answered
Following instructions on zig webui but getting “module not found" 21 messages
Easiest way to go from `[]u8` -> `[]u64`? 3 messages
Answered
Conditionally executing a block based on a comptime expression fails 13 messages
New User Answered 0.13.x
linking c/c++ libraries can be this way? 3 messages
Use builtin to get the type of a struct field. 7 messages
Answered
Can I use generics for a Library? 6 messages
Answered
build.zig.zon: Do I need to create a library artifact in my build.zig? 16 messages
Answered
Zig Build System force static linking 16 messages
how to properly tell thread to stop running 28 messages
New User Standard Library Answered 0.13.x
array-based testing 5 messages
New User 0.11.x Answered 0.13.x
expected type '[]const u8', found '[][*:0]u8' 7 messages
why program is crashing? 17 messages
Int array issue 22 messages
Answered
Cannot cast same type to itself 36 messages
New User 0.13.x
Semantics of `return &.{.value=some_value}`? 8 messages
Answered
how to cast string -> *void -> str 17 messages
non-blocking questions 49 messages
Parallel processing a loop 73 messages
ReleaseFast with zig build 39 messages
check declaration type in comptime reflection? 6 messages
cImport not identifying struct members 2 messages
Current consensus for dependencies 52 messages
Answered
ParseInt & ParseUnsigned Base 3 messages
Standard Library
Different structs in same array 3 messages
zig builds but fails at runtime with undefined symbol error 4 messages
Not finding a system dependency it seems... 10 messages
ArrayListUnmanaged.append(alloc, item) mem leak during test 7 messages
New User
Trying to use the address sanitizer functions with zig compiler 2 messages
Concatenating strings - ZLS can't infer types? 10 messages
New User 0.13.x
What kind of value would this take? _pointer: ?*const anyopaque 13 messages
Answered
Creating null-terminated strings from a tokenizer at comptime 19 messages
Answered
What is best way to implement glUniform from GLES? 2 messages
Answered
Function declaration and definition in different files 13 messages
New User 0.13.x
How GPA scoping works? 18 messages
Format datetime 13 messages
Adding a signed int to an unsigned int 7 messages
Answered
Is this the best way to make a request to some API from Zig? 3 messages
ld.lld: undefined symbol 14 messages
build system 5 messages
0.11.x
Is it possible to import a zig module twice as two isolated "instances"? 18 messages
Getting autocompletion for methods imported by imports in VSCode 7 messages
Answered
When to use a slice or a pointer to N items 2 messages
Answered
why I'm getting out of memory 34 messages
Initilize array with runtime-known size 4 messages
0.11.x
How to access CLI arguments? 16 messages
Standard Library 0.11.x New User Answered
Generic Sorting 10 messages
0.13.x
Arrays in struct suddenly become garbage values? 146 messages
New User
How do I get this type [*c]GLuint? 2 messages
Answered