zig-help

21196 threads · Page 35 of 424

Is there a way to catch the error by family? 6 messages
Answered
Can Zig import a single-header C library written by myself? 3 messages
master New User
Pass parameter as ref, in one line 3 messages
master
Zig 0.16 readVec in net.Stream reader 25 messages
New IO.Writer and IO.Reader, minimal buffer piping 4 messages
Standard Library master New User
Runtime representation of `MyErr!Foo`? 5 messages
master Compiler New User
Import C code into zig code, then import zig code into C code 24 messages
New User
Formatting of nested if expressions 62 messages
Preventing parameter evaluation after compile-time check 11 messages
0.12.x
zig test cli verbosity 3 messages
Answered
allocators when working with C code 4 messages
Answered
weird aliasing rule? 16 messages
do you have hints from ZLS for zig 0.16 reader interface methods? 4 messages
zig std function to "validate" contents of an array? 2 messages
Standard Library New User
is there a way to ask for temporary ascended privileges on linux 41 messages
master
variadic iterators 50 messages
How to convert int to string to pass as parameter into file writer 23 messages
New User
Yet another Reader/Writer Question but with Async! 7 messages
master
lld warnings on ReleaseFast build 8 messages
Do I need to create module for every file? 27 messages
Build System New User Answered
Embedded code crashes without any errors 5 messages
Allocated tagged union 2 messages
New User Answered
zls version for zig nightly/master 5 messages
is `@sizeOf([3]u8)` guaranteed to be 3? 2 messages
Answered
Trying to understand pointers 18 messages
master Compiler New User
MultiArrayList sort "error: cannot store runtime value in compile time variable" 19 messages
New User Answered
Easy utility to generate zig files at build time? 7 messages
Answered
Are std.debug.asserts and std.log.debug compiled in ReleaseFast mode by default? 17 messages
New User
captured value contains reference to comptime var 5 messages
unable to infer arr length / unsupported array init syntax 33 messages
Answered
std.io.queue.init question 7 messages
Answered
Debug segfault during build 16 messages
Build System Answered
How does @This() works when having a function in my struct ? why is it asking me to pass the param 100 messages
master New User
replacement of addCSourceFile ? 8 messages
Answered
How do you iterate over a slice pointer 9 messages
Standard Library master New User
How do struct VTables like in std.io.writer work 13 messages
Standard Library New User Answered
Zig Newbie Numbers Arithmetic 10 messages
New User Answered
Proper way to readline in Zig (1.15.2) 9 messages
Standard Library New User Answered
[Master] Link system library removed? 2 messages
master Answered
'for' is ignored 7 messages
Custom panic handler for testing 2 messages
Answered
Allocating memory for args, oopsy 19 messages
Standard Library master New User
Passing linker arguments for cross-compile 2 messages
Build System
Cross-compiling Zig compiler for Windows: unable to find dynamic system library 'rt' 2 messages
master Compiler
@Type(.Struct = ...) alignment on strict fields 2 messages
Generate Struct with variable number of Fields 9 messages
Answered
Trying to loop. but error. 15 messages
master New User
How to solve this dependency-loop? 2 messages
New User Answered
Libc.txt dosent work 10 messages
Build System master Compiler New User
See test logs immediately 3 messages
Build System Answered