zig-help

21196 threads · Page 81 of 424

Comptime Allocator? 35 messages
Answered
Passing Constant Structs into Functions; Question 15 messages
Answered
Ensuring same output between c++ library and zig rewrite 4 messages
master Answered
Concatenating runtime strings 41 messages
0.14.x Answered
Patterns/resources for memory management in Zig 14 messages
Invalid parameters passed to mmap? 2 messages
Odd behavior with recursion and iteration on a BoundedArray in a union. PEBKAC or compiler bug? 5 messages
0.14.x Compiler New User Standard Library Answered
Correct `fn main(...) ...` signature to return an error code 7 messages
Answered
How would I go about generating a list of strings at comptime that is useable runtime 6 messages
0.14.x New User Answered
Define reader at runtime? 16 messages
0.14.x Answered
memory mapped file performance 3 messages
How to handle "unused local constant" in conditional compilation? 28 messages
How to enforce a specific optimization level on specific steps 3 messages
Answered
Why is the std so undocumented? 27 messages
New User Answered
Interface implementations while maintaining internal data 2 messages
0.14.x Answered
Which multiplatform frameworks would you use? 4 messages
New User 0.13.x
Modify data from pointer 28 messages
0.14.x
Recommended pattern for contextual error data error handling 9 messages
What is the most concise way to collapse errors? 20 messages
comptime stringToEnum and return from fn if no match 2 messages
0.14.x
add SDL3 as dependency without any wrappers 8 messages
Build System 0.14.x Answered
How to link system header? 35 messages
zig translate-c issues 7 messages
0.14.x Answered
u8 to c_str 8 messages
Answered
Sorting an array/slice that is a field of a struct 10 messages
Get Name Of Current Source File? 4 messages
Answered
Why `translate-c` makes function pointer optional? 11 messages
Aro or LLVM for codegen? 9 messages
Build System 0.14.x master New User
Allocating empty array results in the same address 7 messages
Answered
Why does this constant initialization not work? 3 messages
0.13.x
running the `installStep` of a dependency 8 messages
Build System 0.14.x New User Answered
can't complie zls with zig 0.14 on fedora linux 23 messages
Answered
Cross-compilation using Zig as drop-in C/C++ compiler to `x86_64-windows-msvc` 8 messages
Build System 0.14.x Compiler New User
Is there any way for a test to get it's name within the test itself? 2 messages
How to use custom print formatting for std.ArrayList 4 messages
0.14.x Standard Library
Weird issue with vulkan-zig when calling functions from different scopes 6 messages
0.14.x New User
Checking value of a tagged union enum 12 messages
Answered
Investigating assembly output on godbolt 20 messages
Finding type to store stdout as a buffered writer 11 messages
Answered
Easiest way to continue iterating when an error is returned? 6 messages
Why my generated docs won't detect some of my files's module level documentation? 8 messages
master Compiler New User Build System Standard Library
Segmentation fault at address 0x100 only on CI 21 messages
My tests are not running 17 messages
master Compiler New User Answered
Zig fails to build. 3 messages
Answered
Why my docs are bugged? 9 messages
0.14.x Standard Library New User Answered
Why does zig change its ways so much? and how to get user input currently in zig. 15 messages
Standard Library New User
How to run a binary relative to the cwd with addRunArtifact on latest master 2 messages
why does this cause a runtime panic with @memcpy 17 messages
Answered
Zig Fiber thread and stack swapping (Not zig question). 5 messages
How do I alter how JSON is dumped/parsed? 9 messages
Answered