zig-help

21196 threads · Page 232 of 424

check if `T` is a integer type (i32, usize, u8, etc) or a float 12 messages
Answered 0.12.x
How to `rewind()` file? 3 messages
New User Answered 0.12.x
How to Root File 18 messages
"register" allocator data structure 22 messages
Standard Library 0.13.x
Are debug builds of the compiler available anywhere? 48 messages
Compiler Answered 0.12.x
Initializing struct with pointer to anonymous struct 38 messages
Answered
Slice of strings. 10 messages
Answered
Using SDL.zig with build.zig.zon 5 messages
0.12.x
How to link against shared libraries that end like "lib(...).so.1" 18 messages
Answered
Why are types created with the same syntax as variables 5 messages
Answered 0.12.x
raylib, 0.12, package manager 7 messages
Answered 0.12.x
@field for methods 3 messages
Runtime manipulation of type 22 messages
Answered 0.12.x
Where to import TCP.NODELAY on osx? 8 messages
Iterating through multiple constants 32 messages
Error: unable to find zig installation directory: FileNotFound [Windows] 15 messages
Compiler Answered
Why is the allocator not passed as a ptr in the std lib? 2 messages
Answered
how to setup to be able to use Build.linkSystemLibrary? 54 messages
New User 0.12.x
Array Indexing 56 messages
Answered
exe.linkStaticLibrary(glfw) cannot locate `.dylib` files by default (MacOS) 90 messages
What's wrong with my string concatenation / OS switch statement in this build.zig? 29 messages
HashMap dealloc with structs as values 37 messages
Can I use `ArenaAllocator` as a linear allocator? 22 messages
Standard Library Answered 0.12.x
Provide pure C library as a static module 10 messages
C Import failed 15 messages
error: expected type 'type', found 'comptime_int' 3 messages
New User Answered 0.12.x
Cannot figure out correct data type to pass to Vulkan function 28 messages
New User 0.12.x
Is there a better way to add relative path in build.zig ? 4 messages
Compiler Answered
no field or member function named 'deinit' in error{OutOfMemory, InvalidCmdLine}!process.ArgIterator 5 messages
0.11.x Answered
Are there tools for: race conditions, memory leaks, ... in Zig ? 32 messages
Possible workaround for TLS bug? 4 messages
Creating a constant array of structs, containing arrays 5 messages
0.13.x
Looking for feedback on dependency management 5 messages
New User Answered 0.12.x
When doing allocator.create() its always the same value that pops out 3 messages
Answered
How can I refer to a function's return value from within a `defer` statement? 19 messages
Answered
`inline else` an incomplete enum (`_`) 30 messages
error: comptime call of extern function 3 messages
Pass a function as an argument 48 messages
0.11.x
error code 5 while building with `run` 4 messages
0.13.x Compiler 0.12.x
Interface context pointer casts 4 messages
Zig is lack of abstraction 11 messages
Answered
How to use std.posix.execvpeZ 27 messages
namespace variants at comptime: is this the idiomatic approach? 8 messages
Answered
Function parameter is casted to a const pointer by anytype 15 messages
Help optimizing a function 116 messages
Get original type of anyopaque in comptime 15 messages
0.11.x Answered
madd simd 3 messages
Slice of pointers to slice of non pointers 3 messages
Answered 0.12.x
Help with deinit 35 messages
New User Answered 0.12.x
How to compare and get the active field of two tagged unions with the same tag 39 messages
Answered