zig-help

21196 threads · Page 200 of 424

how to not optimize an empty loop? 23 messages
New User Answered 0.13.x
Is there any way to check if an element has been initialized? 12 messages
New User
format function with vtable interface 5 messages
Answered
Help with segfault 20 messages
Answered
comptime-known value triggers "is runtime known" error 4 messages
0.14.x Answered
Zig build system for C++ project 27 messages
Answered
Trying to read files with epoll 33 messages
Passing arrays to functions 26 messages
New User Answered
Hashmap of allocated things 22 messages
Standard Library New User 0.13.x
`mem.readInt` works with arrays but not slices? 7 messages
read text file at comptime 18 messages
Type mismatch not getting flagged by Zig 5 messages
is there a difference between `@import("builtin");` and `std.builtin`? 3 messages
iterate object attributes to free 6 messages
Answered
Linking errors while building compiler with LLVM 2 messages
0.14.x Compiler Answered
How to pass a '[]const u8' string to a c-function that expects '[*c]const u8'? 34 messages
New User 0.13.x
libc not linking when compiling for emscripten 8 messages
Build System Compiler Answered
What is the difference between opaque and anyopaque? 20 messages
Waiting for the first input on keyboard 33 messages
New User Answered
Multiple values with `std.mem.replaceOwned` 2 messages
Answered
Static Array of Generic Elements in Struct 14 messages
Answered
Why does this function need to be `inline`? 82 messages
Answered 0.13.x
Initialize Matrix and all elements of it? 6 messages
Answered
Using C Function that returns `anyopaque` and getting 'anyopaque' not allowed 3 messages
Build System Compiler 0.12.x
debug println 15 messages
Export types in a library in zig? 7 messages
New User Compiler Answered 0.13.x
What is the "idiomatix way" of doing these functions? 14 messages
New User Answered
Error with C macros (c_int and bool comparison) 9 messages
New User 0.13.x
linker problem 7 messages
Answered
`*.print` with sentinel 17 messages
0.14.x Standard Library Answered
how to @call in a naked function 50 messages
New User Answered 0.13.x
how to import a zig file from another directory 23 messages
New User Answered 0.13.x
Trouble understanding compilation error 3 messages
Standard Library Compiler New User Answered
Understanding build step dependencies 16 messages
How to write a file into a lazypath folder 43 messages
Apply a .diff patch file to a repo after I cloned it from build.zig 3 messages
[solved] Get the path to the zig binary that is running build.zig 3 messages
Answered
extern packed struct 22 messages
New User Answered 0.13.x
Skip a Build.Step.Run when a file/folder exists 56 messages
what's the idiom for exporting an error-returning zig function for C? 6 messages
Answered
is it possible to print a string 'raw' 18 messages
New User 0.13.x
`FieldIterator` looping infinitely? 5 messages
Standard Library Compiler Answered 0.13.x
Confused when assigning to a heap allocated string 4 messages
Answered
[solved] Strange output from std.debug.print 9 messages
New User Answered 0.12.x
[solved] Calling a custom compiler from build.zig for certain file types. How would it be done? 10 messages
Build System Answered 0.13.x
struct containing a FixedBufferStream? 3 messages
Answered
Behaviour around functions and slices 9 messages
Answered
Zig pointer error checking 13 messages
Answered
signals 8 messages
Syntax highlighting issues for imported modules with ZLS on Windows (VSCode) 3 messages
Build System Answered 0.13.x