zig-help

21196 threads · Page 167 of 424

how to check string 9 messages
simple compiler 2 messages
0.14.x
no field named 'Struct' 5 messages
Standard Library
Using `catch null` to turn an error into an optional 4 messages
New User Answered
How to use a linkedLibrary's functions in zig file? 2 messages
test unit stuck 14 messages
0.14.x
Which type should a cli-argumentparser return? 2 messages
Standard Library New User 0.13.x
why does it memory leak at al.append(char)? 13 messages
New User 0.13.x
check for operand 25 messages
0.14.x
Unable to iterate dir? 2 messages
New User Standard Library Answered 0.13.x
Zig std.http.Server - Trying to work out the below code. 8 messages
0.14.x Standard Library
Questions about importing and testing 4 messages
How to define `fn` with name given by `comptime []const u8`? 10 messages
I want to use a structure to handle `argv` and `env`, but I don't know how to do it 34 messages
uh hey how can i pass strings (slices) and structs between js wasm 5 messages
Answered 0.13.x
is there any way to bypass compiler safety checks for specific cases? 24 messages
New User Compiler Answered 0.13.x
Passing undefined as a pointer value 11 messages
New User
what data structure do i need? 2 messages
New User Answered
Add multiple files to `translate-c` in the build system 13 messages
Build System 0.14.x Answered
zig max align 4 messages
idiomatic way to remove items from Arraylist while iterating 12 messages
Answered
Inlining the "read" operation makes the compilation fail? 57 messages
Where @ptrToInt went? 62 messages
0.14.x
Copy binary after compiling (build system) 6 messages
Build System Answered 0.13.x
strcat function 15 messages
Proper Way to Detect End Of Stream 3 messages
Answered
how do i get the compiler to emit the x86 vpmaddubsw instruction 13 messages
confused about "static" functions 11 messages
New User
array of resizable slices with upper bound in size that can be created and expanded at compile time 14 messages
getting the path for the current working directory 5 messages
`threadlocal var` throws error "unable to evaluate comptime expression" 2 messages
mutex for shared state for multithreaded server (httpz to be more specific) 12 messages
Standard Library New User 0.13.x
C lib (header only) and cross builds 5 messages
Build System Answered 0.13.x
how can i convert a struct into a slice 21 messages
0.14.x
How could i implement my own Uart writer? 31 messages
Standard Library 0.13.x
how to format string 2 messages
0.14.x
cut down code 5 messages
0.14.x
how to get length of string 66 messages
How to use vulkan-zig bindings with Windows 15 messages
What is the best method for avoiding nested union(enums) to make interfaces? 4 messages
New User
What is the generic writer struct and generic writer error for v0.13? 14 messages
Standard Library 0.13.x
ZLS(or maybe treesitter?) on Neovim doesn’t work with imports 10 messages
New User
how can I make `zig build` exit on first error? 3 messages
count significant bits 2 messages
Macros break compilation 55 messages
how to import file 17 messages
0.14.x
asm cannot output to const local 92 messages
Is there a way to use zig's package manager with a c repo that doesnt have a build.zig ? 4 messages
Build System Standard Library 0.13.x
Chained optionals 12 messages
Can't assign to const import but var throws comptime error 10 messages
New User Answered 0.13.x