zig-help

21196 threads · Page 214 of 424

Single item to [] T of size 1 27 messages
0.14.x Compiler
Trouble adding a module import to a module 10 messages
Build System 0.14.x Answered
Translate C not using wrapping operators (+%/-%) 62 messages
zig cc C sources into individual .o files and linking them 2 messages
Use {} in a format string 2 messages
Answered
Alloc memory with custom protection. 9 messages
Should an "allocator" argument be exposed when allocations are managed entirely within a fn runtime? 5 messages
Answered
no point to inline comptime functions 4 messages
Answered
Line by Line or all at once? 2 messages
Answered 0.13.x
Style guide: how should I treat `init` function? 4 messages
New User Answered
extern struct size mismatch with C 23 messages
Answered
test for different endian 4 messages
Answered
return error union during comptime (repost from #zig) 2 messages
Answered
Run compiler behaviour for selfhosted backend test only for one target 25 messages
Answered
unable to find module 'raylib-math' 12 messages
Is there any reason to require parentheses around the "constructor expression"? 5 messages
Answered
Using break/continue in the while continue expression 3 messages
0.13.x
Get path without base file 10 messages
How can I prevent segfault when hot reloading Zig code? 13 messages
Make `zig build run` run exe from zig-out instead of zig-cache. 2 messages
Compressing data in an arraylist 6 messages
Is it possible to chain-catch errors ? 5 messages
Answered
Memory leaking even after deinit. 8 messages
Answered
Must every struct with un-named fields be comptime known? 29 messages
Answered
Use Zig package manager to pull C++ lib 2 messages
Build System New User Answered
Memory leak when deinitializing ArrayList 33 messages
New User Answered 0.13.x
what is `context` for `std.mem.sort` for? 9 messages
Standard Library Answered
CreateProcessW 12 messages
New User Answered 0.12.x
zig not calling assembly function 34 messages
Answered 0.13.x
command not found 10 messages
New User Answered
addSystemCommand not executing as expected 4 messages
Build System Answered
how to @tagName from enum? 8 messages
How to write a callback generator 7 messages
Answered
Trying to hot reload, got untraceable segfault on subsequent allocator usage 50 messages
New User Answered 0.13.x
Help with hashmaps 5 messages
Answered
Is there any way to do something like "Allow discard" 45 messages
Answered 0.13.x
error: comptime call of extern function 19 messages
Why is the C enum type translated to c_uint instead of c_int? 18 messages
convert value to slice idioms (like u8 -> []u8) 10 messages
Answered
Did something change with addSystemCommand or build dependencies in 0.13.0? 30 messages
Build System 0.13.x
CImport failed: file not found 21 messages
Answered 0.12.x
Debug build-specific logic 2 messages
Split all characters in string 130 messages
0.14.x
How do you work properly with strings 7 messages
0.14.x New User Answered
Is there a glob matching pattern for zig's fs path? 3 messages
building zig from source 21 messages
Trying to integrate zig and gtk4. Basic questions for porting c libraries. 13 messages
Optimizing a Virtual Machine 3 messages
Answered
Is there a way to get zig build to print all file dependencies of a certain build step? 10 messages
DynLib loaded function behaves differently when print is or is not called. 41 messages
Answered 0.12.x