zig-help
How to create array of unknown size
Answered
How to create a comptime upper case string?
Simplest way to convert null-terminated `[256]u8` to `[]const u8` of correct length?
Answered
0.13.x
Getting different value when accessing pointer inside while loop
Using enums as array index?
Answered
0.13.x
Significant execution time differences between Zig and Rust [Advent of Code 2023 Spoiler]
0.13.x
New User
Answered
Slice-based dequeue in the standard library?
New User
Standard Library
Answered
0.13.x
Collect stdout and stderr output of a ChildProcess
Zig resources for learning?
New User
How would I go about converting a `c_int` to an `f32`
Arena Allocator reset is allocating memory
Exported tuple is missing from object exported symbols?
0.11.x
Answered
0.13.x
Read Until '\r', '\n', or '\r\n'
How to print a number in binary format left padded with zeros?
How would I go about returning a possibly null value as a normal value
New User
Getting `error: comptime call of extern function` when calling `c.SDL_Init(c.SDL_INIT_VIDEO)`
New User
comptime of arrays and structs
0.11.x
New User
Is there a way to match an enum to a string or vice versa?
error: expected type '*hash_map.HashMap(i32,types.Operation,hash_map.AutoConte
File locked after process interruption
Answered
open binary file and editing it ?
[][]const u8 to [*c][*c]u8
Answered
Import of file outside package dir with `zig test`
(Day 3 Spoiler) Not sure where I have a memory leak and I'm struggling to identify it
Reading file getting stuck
Tuple return type and parameter type
Importing a library
Handling errors
Accessing data loaded from a file globally
New User
Standard Library
Answered
0.13.x
Correct return type for OutOfMemory allocation error
0.11.x
New User
What am I doing wrong when Windows system programming?
Find possible win32 error codes like in stdlib?
`zig test --test-filter` match exact
Answered
Error type on int constant?
0.11.x
Compiler
generic function poisoning drawbacks
Answered
0.13.x
Linux kernel build error: zig: error: invalid argument '-fomit-frame-pointer' not allowed with '-pg'
streamUntilDelimiter vs readUntilDelimiter get bytes read count
Answered
Format using tabs?
@truncate between signs with generics
Answered
Enums: Rust & Zig
Unused local constant, clearly being used
Compiling zig to mac
write and read on file line by line in zig
How do anonymous struct functions get stored?
Read a file into a std.ArrayList(std.ArrayList(u8))
Trace/breakpoint trap (core dumped)
0.11.x
New User
How to write a function which returns in an if statement?
Answered
Strange slice behavior
0.13.x
Unable to use field off C struct, error: does not support field access
New User
Answered
0.13.x
patch build.zig downloaded from .zon before using as dependency.
Standard Library
Compiler
0.13.x