zig-help

21196 threads · Page 222 of 424

cannot make this function runtime 24 messages
are defers guarenteed to be executed in order? 6 messages
weird bug 5 messages
Comptime different methods 6 messages
expected type '@typeInfo(@typeInfo(@TypeOf(main.main)).Fn.return_type.? 7 messages
Iterating a directory opened with the iterate flag fails 17 messages
How to get around const []u8 and []u8 constraints 6 messages
Answered
New array from [*:null]?[*:0]const u8 18 messages
New User Answered 0.12.x
How to detect key presses in terminal? 4 messages
Single Threaded TCP server 11 messages
New User Standard Library Answered 0.12.x
Request for Direction with Regards to Comptime 3 messages
New User Answered
Serializing a structure to JSON 5 messages
New User
stack smash protection 7 messages
Comptime function call 9 messages
Answered
Returning a struct + unknow another 31 messages
New User
How to compile ARM assembly using zig's toolchain? 41 messages
How to properly setup a dependency? 4 messages
New User Answered
zig build system unexpected error 7 messages
cast *anyopaque to different struct 12 messages
std.testing.expectEqualSlices how to make it work 8 messages
0.12.x
Is it possible to convert []u8 to [*c]u8 without @ptrCast? 25 messages
0.12.x
getNthValues() function 52 messages
New User Answered
Improvements to Zig's metaprogramming 11 messages
0.12.x
Idiomatic way to loop through all values of an enum 34 messages
New User
Prefixing method names? 3 messages
Build System New User 0.12.x
How to print nested struct of ArrayList ? 19 messages
New User
who "owns" the allocation? who frees it ? 6 messages
Async/await state in 0.12? 2 messages
Answered 0.12.x
Libgit2 Opaque Types 12 messages
Answered
Type Equality (modulo coercion) 2 messages
Answered
Trying to add an option to my build.zig 9 messages
Are returns passed by ref or copied? 23 messages
Answered 0.13.x
Issues with memory management 58 messages
New User Answered 0.13.x
What are the pros and cons of using the zig build system instead of gcc or clang in a 100% C project 12 messages
Make a string at runtime without allocating memory 13 messages
Answered 0.12.x
How would I implement C headers in a typesafe way? 4 messages
fmt without allocator 40 messages
How would I have an array of X, where X could be Y,Z or Y,W. 23 messages
New User Answered
wrapping enums / one-field structs 7 messages
Answered
Including a library 34 messages
Build System Answered 0.12.x
Bit operations on enum fields 23 messages
New User Answered 0.12.x
is this what I should expect with GDB? 6 messages
compile as static lib 15 messages
Build System New User Answered 0.12.x
As a beginner in Zig, im having a really hard time learning it. What can i do about it? 9 messages
New User Answered
storing errors 3 messages
Question: should i need a struct for storing httpversion 20 messages
error: embed of file outside package path 24 messages
Answered
global comptime list 9 messages
How to get info from builtin.StackTrace? 9 messages
New User 0.12.x
How can I convert an ArrayList of structs into a flat contiguous array? 17 messages
Answered