zig-help
Why is this not a compile error?
Answered
Does this function exist on stdlib?
Standard Library
Answered
0.13.x
How would I achieve what addInstallRaw does in the current version of Zig?
Build System
0.13.x
Trouble deallocating
Answered
passing char as string causing unintended behavior
Answered
expected optional type, found '[][]const u8' error
New User
Answered
0.13.x
must be comptime-known, but index value is runtime-known
New User
Answered
0.13.x
Possible to convert to/from struct and string?
Build and link a C++ library
Answered
String Format specifier to trim at specific length
Answered
Whats the difference between tokenize and split?
Answered
Initialize enum(u16) {_} type
Answered
0.13.x
zig fmt gets stuck while saving
Why doesn't Zig allow you to dynamically specify arguments in comptime for Fn type?
Answered
Is it possible to generate a struct with all fields from other type but changed to optional?
@branchHint question
0.14.x
Answered
How to build Postgres, statically, with zig?
Json parsing for hashes
Compare two strings at runtime
New User
Answered
0.13.x
How do I populate union initializer with enum_literal and anytype? (If possible)
Answered
0.13.x
Access `Package.Manifest.version` without reparsing `build.zig.zon`?
Viewing pointer values in debugger
std.StringHashMapUnmanaged required allocation?
0.14.x
Standard Library
New User
spread array?
Answered
trigger program when `zig build -fincremental --watch` rebuilds
I am using raylib and I would like to use C inside my zig project to call raylib too.
zig build / compiling qhull
Answered
passing std.math.big.int to std.mem.asBytes
Answered
not able to add my project as a remote dependency, did something change with the build system?
memory safety:
Is std.debug.assert guaranteed to always evaluate the expression?
New User
Answered
Zig-ZLS version mismatch using ZVM
0.14.x
Does the function @intFromFloat() perform also an implicit @round()?
Answered
function needed to convert u32 into big endian array
How do I get more traceback info?
Compiler
New User
0.13.x
std.os.linux usize return type
Standard Library
Answered
std.c.getaddrinfo should just call libc code, right?
Standard Library
0.13.x
How to get length of string at runtime
Answered
0.13.x
remove const from a pointer object
Standard Library
Answered
0.13.x
Whats the recommended way to pass an allocator to a function
New User
Answered
0.13.x
How do I make errors more user friendly?
New User
0.13.x
[]u8 into u16/32
Answered
[solved] Casting C function pointer returned by C to another C function pointer
Answered
Nested mutex lock from same thread
Answered
Passing a string returned type error
Answered
Setting the `std.process.Child.run` output width and height
Zig web frameworks and rust librairies
question about lists and appending local scope data (General protection Exception)
How to pass ownership of the data from one allocator/datastructure to another?
Type erros when using STB header file in a zig project