zig-help

21196 threads · Page 332 of 424

build.zig addSystemCommand rebuild only if src files changed 26 messages
Zig error when upgrading to master 10 messages
Answered
Idiomatic syntax for lots of floatFromInt 3 messages
image manipulation? 4 messages
weird sdl issue with arraylist of pixels 4 messages
Using QEMU with zig cc 10 messages
Bitwise type issues 11 messages
Answered
Segfault when working with C 24 messages
Answered
Help with Zig Package manager 29 messages
New User 0.13.x
Allocator out of memory in when allocating comptime T in test 5 messages
Standard Library New User Answered
How to iterate over HashMap? 77 messages
Answered
How to declare an array of tuple ? 5 messages
Stdout writer global var 15 messages
Answered
What is the proper way of passing an Allocator 18 messages
Is it possible to return a struct as an error? 14 messages
Is there currently a way/workaround to XOR a vector of floats? 19 messages
relative path resolution 6 messages
SetOutputDir for object files zig 0.11.0 replacement? 38 messages
Answered
Is this error message right? 3 messages
Answered
Is there a stdlib function to convert a byte slice to an `io.Reader` instance? 2 messages
New User
How to use std.os.execvpeZ 9 messages
Answered
what are all these fmt errol symbols? 6 messages
Is it possible to import functions from a C dynamic library (a .dll file) ? 166 messages
New User 0.13.x
Returning a shorter slice than needed from function 7 messages
Answered
Panic Override Failing 14 messages
Answered
How to wait for ThreadPool 7 messages
discord zig code highlight 13 messages
array literal requires address-of operator (&) to coerce to slice error 273 messages
Answered
recover type and alignment from ArrayList(T) 93 messages
Standard Library Answered 0.13.x
getting the path to the zig c stdlib headers from build.zig 13 messages
Answered
Is this the "standard" way of allocating a structure? 103 messages
Importing C header file - error: ld.lld: undefined symbol 13 messages
New User Answered
What really happens when there's a segmentation fault at some address when dealing with optionals 6 messages
How do I initialize an empty slice of pointers? (error) 10 messages
Derive types from AST 3 messages
return ... catch ... continue syntax 16 messages
how to add zig fmt in zig build? 6 messages
zig build test hangs while zig test src/main.zig completes in seconds 6 messages
How can i parse a []u8 buf to slices 103 messages
Assign @Vector to slice 3 messages
Slice of known maximum length to array for iteration 7 messages
Get amount of rows and columns in console. 4 messages
My string parameter suddenly goes undefined after a line in my function 15 messages
@memcpy between two [*c]u8 with a length 16 messages
Answered
cannot memset constant pointer: @memset(&this.data, 0); 2 messages
Package manager: How to communicate CrossTarget (and SysRoot) to dependencies? 7 messages
"crosses namespace boundary" error? 3 messages
Casting [n]u8 to []u8 3 messages
Passing options to clang 2 messages
Return error when accessing array out of bounds 2 messages