zig-help

21196 threads · Page 160 of 424

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