zig-help

21196 threads · Page 78 of 424

How to test comptime logic? 67 messages
get function attributes in comptime 4 messages
0.14.x Answered
Conditional compilation to chose specific function definition instances 16 messages
Build System 0.14.x Compiler
Trying to avoid using relative paths in @import( file ) 7 messages
Build System 0.14.x Compiler
ZLS not reporting error for invalid struct field initialization/access, while Zig compiler does 4 messages
Build System
When should we pass in an allocator? 13 messages
Using OpenGL with SDL 26 messages
New User Answered
web frontend ui lib ideas 37 messages
lld-link problems on Windows 46 messages
Build System 0.14.x Answered
ADDRNOTAVAIL returned when binding a socket 11 messages
Answered
Error Linking a DLL/SO in zig 41 messages
Build System 0.14.x master Answered
Can build.zig link to a xcframework? 5 messages
How to correctly use `zig test [filename]` 17 messages
New User
how to avoid a generated file getting cached? 2 messages
Build System 0.14.x New User Answered
With an array of structures, is it possible create a "view" of a specific field? 20 messages
IO interface question 5 messages
Standard Library
Cast usize to f32 22 messages
New User
Zig compiler segfaults (0.14.1 and master) 5 messages
Unwrap error union in global scope 4 messages
New User Answered
cmake set equivalent in build.zig 5 messages
Answered
Can i grow a mutable comptime slice? 13 messages
LLVM ERROR: cannot select with specific asm operands 2 messages
0.14.x Compiler Answered
How does Zig manage to cross-compile to MacOS without violating the Apple SDK license? 14 messages
what does (reused) mean in the summary?—system command is skipped when inside makeFn() 12 messages
Build System 0.14.x New User Answered
typeName without namespace? 2 messages
Answered
Integer overflow after method calling 2 messages
0.14.x Answered
Custom hot reload on Windows write access to .dll denied 4 messages
New User Answered
Assigning arrays and slices of different sizes 3 messages
Answered
General protection exception occurring on newly created object 4 messages
Answered
Tuple destructuring in for loops 3 messages
0.14.x New User
Unable to infer array size if I don't repeat it twice 11 messages
Answered
Raylib-Zig: Drawings are not positioned as expected(macos) 6 messages
New User Answered
Using zig-overlay for a specific zig version 2 messages
Answered
Http Request Hanging 9 messages
0.14.x Standard Library Answered
Are (some) std.heap allocators movable? 29 messages
Traits / Interfaces framework 17 messages
Answered
error union is ignored/discarded in defer 3 messages
0.14.x Compiler New User
Namespace stripping 65 messages
0.14.x Compiler
How to link a C library directly without writing a wrapper? 18 messages
Build System 0.14.x New User
Can I manually rename/mangle symbols in the build script, or do I need a linker script for that? 7 messages
to be an union, or not to be an union 206 messages
master Answered
about debugging with the x86 Backend 2 messages
master New User Answered
Why does taking a zero-length slice of a null pointer produce a NPE? 4 messages
0.14.x
clarity on @field()? 4 messages
Answered
help with `print` wrapper 2 messages
Please review my enum bit field abomination + question 8 messages
0.14.x Standard Library New User
libtorch compile fails with zig build system on linux 7 messages
0.14.x Compiler
How can i get all names of enum's fields 2 messages
Answered
Ignoring Zig quirks that annoy me personally 38 messages
Build System 0.14.x New User
Can you modify the std_options struct in your build.zig file in order to download files via https? 5 messages