zig-help

21196 threads · Page 396 of 424

Get addCSourceFiles to accept different file extensions 4 messages
Answered
function evaluated as comptime expression despite non-comptime arguments and return type 19 messages
Calling zig from dotnet via [Dllimport] on Windows - AccessViolationException when allocating 37 messages
Linking Libs 10 messages
Futex for thread synchronization, sometimes slow 15 messages
Can't return generic type 18 messages
Answered
Compiling stage3 uses more than 60 gb ram 15 messages
Why doesn't Zig allow pointer comparison for similar types 4 messages
why zig is always using only 1 thread? 58 messages
Trying to use C `stdout` 9 messages
anyopaque ? What's that ? 74 messages
Zig Crypto Wierd output text 12 messages
pass param to resume 12 messages
Workaround auto detecting return type 49 messages
New User Answered
trying to create a triangle using ZGL and mach GLFW 12 messages
Atomics help needed 31 messages
Answered
AppendBuffer datatype 2 messages
New User Answered
Nested test fails to find package with zig test 6 messages
New User
Difference between for loops 12 messages
Answered
Issues using stb lbirary in zig 7 messages
how to link libc statically 4 messages
Answered
Storing a string transformed into a rich data structure at comptime 25 messages
Compile-time final output of a zig file? 12 messages
Compile-time function returning strings 21 messages
New User Answered
How to debug UB 37 messages
get mutable ptr from nulable variable 2 messages
Answered
Can someone explain to me why I am getting this error? 3 messages
Answered
Pointer arithmetic help 2 messages
New User Answered
Is there a way to compile C code with system headers included but without linking to libc. 51 messages
Answered
Return NULL? 13 messages
Answered
quoting some identifiers no longer required? 13 messages
why is slice[slice.len..] valid? 25 messages
how to copy an array into a function without specifying the size 31 messages
Answered
comptime exceeds branches on decl 3 messages
Answered
(AoC) dynamic loading? 99 messages
Strengths of Zig 4 messages
New User Answered
inline for - how to omit a capture? 2 messages
New User Answered
Why does `std.fs.cwd().realpath(pathname, out_buffer)` create the full path twice? 4 messages
using `embedFile` on an artifact generated by build.zig 10 messages
Answered
comptime function parameter with inferred error set 15 messages
How to pass a zig function pointer to a C when the function type has varargs? 66 messages
Answered
Linked .so symbols mismatch when compiling c++ source with android NDK 59 messages
New User Answered
Returning pointer to local fixed-size list and modifying items 4 messages
New User Answered
Is it possible to see and step C compiled code with Zig in VSCode debugguer ? 6 messages
Answered
Where does the builtin embedFile fn store the data 53 messages
StructField of Tuple aka how to convert into to string? 2 messages
Answered
Return Tuple from function 2 messages
Answered
`error FileLocksNotSupported` 5 messages
Format printing binary digits with all trailing zeros 23 messages
Answered
for 1 to 100 without while? 36 messages