zig-help

21196 threads · Page 246 of 424

simple program with 2 threads doesn't work 6 messages
Standard Library Answered 0.13.x
printing in console 22 messages
Answered
Dependency Loop Detected 67 messages
Detect whether libc is linked, from C code or build.zig 6 messages
Answered
How to get Aligned Vector reads from slices 10 messages
New User Answered
Is there a directive to tell the compiler that a condition is true most of the time? 3 messages
Compiler New User Answered
Cast atomic(enum(u32)) to atomic(u32) 11 messages
Zig equivalent of SIMD mask functions in C (_mm256_cmpeq_epi8 etc) 28 messages
New User Answered
trying to use the luazig lib and I am having an issue adding to my project 2 messages
Compiler 0.13.x
wasm function works in debug compile but becomes an infinite loop when compiled as ReleaseSmall 48 messages
New User
What is the idiomatic way to have different host machine dependencies? 27 messages
Answered
thread safe concept 20 messages
std set operations (on slices) 30 messages
Standard Library New User
Can zig optionally fetch dependencies with build.zig.zon 11 messages
Answered
error: else prong required when switching on type 'type' 20 messages
Answered
error: expected type '[][]bool', found '*[3][3]bool' 14 messages
New User 0.13.x
how could i add modules in the new way 10 messages
Answered
How feasible will statically compiling these libs be with zig for godot? 27 messages
Answered
Struct instances as members of another struct and lifetimes 7 messages
0.11.x New User Answered
Pass reference to an array (or slice) 23 messages
When one of the arguments is function pointer and that function has comptime argument - error 19 messages
SourceLocation of a given struct 4 messages
Build in Release mode with debug symbols? 3 messages
Compiler 0.13.x
windows.h not found 11 messages
Answered
Common testing practices / How do tests compile in zig? 16 messages
Convince "try" to accept a non-error value 33 messages
Answered
How do I spawn a thread that can error using a ThreadPool? 26 messages
Answered 0.13.x
union depends on itself 31 messages
Answered 0.13.x
usize multiplication with bad result 25 messages
question about library conventions and std.json quirks 6 messages
Answered
Can translate-c keep #import'd files as separate modules? 3 messages
0.11.x New User Answered
Is windows mingw statically linked by zig? 7 messages
Answered
Compute type of expression of multiple anytype values? 36 messages
Answered
[Zig Build] How to make a custom directory in `zig-out` and get absolute path to it 84 messages
Answered
Cannot wrap my head around zls in vim/nvim 58 messages
Answered New User 0.13.x
Trying to read a simple txt file in ZIG 5 messages
Strange errors about using var or const to declare a (already existing) variable. 5 messages
0.11.x New User Answered
On Windows can I work with wsl + emacs to build and run native windows executables? 5 messages
Answered
Downsides of inlining vtable in interface 43 messages
How to call `std.Build.Module.addCMacro`? 5 messages
Standard Library 0.11.x New User Answered
Ziglings comptime7 error 4 messages
0.13.x
What is the best way to learn zig? 2 messages
New User Answered
Interfaces and struct member variables 14 messages
How do I wait on a reader _without_ blocking? 4 messages
Answered
How do i compile Zig to WASM? 5 messages
Help me understand Arraylist and memory allocation 7 messages
New User Answered
Error during build regarding build.zig file 11 messages
What's a better way to iterate an arraylist while potentially removing elements? 4 messages
Standard Library 0.11.x New User Answered
Non-const pointer to a temporary 73 messages
Answered
How to make this loop more DRY? 189 messages