zig-help

21196 threads · Page 391 of 424

Named parameters in function calls? 8 messages
std.Http client Request 48 messages
Is there a programmatic way to extract a tuple from a struct? 16 messages
Tokenizing and iterating over a string at comptime 3 messages
Importing wasm host functions 136 messages
zig build test -Dtarget=wasm32-wasi -fwasmtime error 2 messages
Answered
ComptimeStringMap with array of strings as values 27 messages
Standard Library New User Answered
Add a negative number to an unsigned int (cannot represent integer value) 49 messages
Answered
Separating tuple elements, to enable function call via function pointer. Is this even possible? 28 messages
Answered
C import error, can't make it verbose 21 messages
Compiler New User Answered
Possible to automatically define a function pointer from a function's signature?? 4 messages
How to use raw simd calls? 7 messages
Variadic functions 37 messages
Answered
can you link 64-bit code to a 32-bit executable with Zig? 10 messages
`anyerror` or not to `anyerror` 2 messages
Assign to optional by pointer 5 messages
Answered
Statically generated switch 9 messages
How to read in a whole file without size? 512 messages
Is using the C abi mandatory for libraries? 5 messages
“zig” can’t be opened because Apple cannot check it for malicious software. 8 messages
New User
Anding bool vectors 15 messages
Proper way to add a package path for @embedFile 5 messages
Error when using `zig build` on latest commit 11 messages
Answered
Comptime alternative to ArrayList? 8 messages
Answered
Range syntax 10 messages
Answered
stuck on "does not support field access" error 4 messages
New User
Passing ptr field from array of u8's to a c function segfaults, cast causes pointer to be null 8 messages
comptime question 54 messages
Answered
I think I found a bug 6 messages
Answered
PMOVMSKB @Vector equivalent 2 messages
How to use std.json 26 messages
Generic field changing 7 messages
Answered
cast slice of bytes to primitive type 29 messages
Answered
@cInclude 76 messages
Answered
Help with fat pointer implementation in zig 7 messages
Answered
build.zig 9 messages
Pass a method as field to struct 16 messages
-fsave-optimization-record 3 messages
Compiler
Windows functions error 8 messages
Stacktrace shows only question marks as address identifiers when attempting to debug a memory leak. 19 messages
Zig download from ziglang.org has wrong hash? 2 messages
Answered
sysctl.h include missing for zig cc -target *-linux-gnu? 18 messages
optimise speed execution, speed difference between Zig/Nim/Rust/C 35 messages
AutoResetEvent missing? 9 messages
Standard Library
best way to init struct with internal pointers 31 messages
zig c++ seems to static link a little too enthusiastically 35 messages
how to get access (writable) the tag field in tagged union? 136 messages
Answered
Android - error: ReadOnlyFileSystem 31 messages
Invalid checksum when downloading Zig master binary build 3 messages
zig test and gdb 6 messages