zig-help

21196 threads · Page 113 of 424

How do you test a function to be used by `std.mem.sort`? 5 messages
[solved] Memory Leak: Looking for RubberDuckDebugging friend to find the cause of the leak 154 messages
0.14.x Standard Library Answered 0.13.x
Is there a `std.mem.lessThan[orEqual]` in the std library? 9 messages
How to use comptime to remove strict validation code? 4 messages
memory allocation 2 messages
Answered
iterating through a dir on comptime 14 messages
Answered
Using fixed size buffers to avoid allocations 8 messages
Decompress An Existing Slice of Bytes 8 messages
Answered
No stack trace being passed to panic handler? 5 messages
New User Answered 0.13.x
Issue with moving slice `[] const u8` into `ArrayList` instead of copying the data 2 messages
Answered
BitStack deinit 5 messages
Answered
how do you do `@"\""` 8 messages
Answered
Zig workflow 79 messages
0.14.x New User Answered
A problem with --test-filter 3 messages
zig build system for all C/C++ project 42 messages
Build System New User 0.13.x
Struggling to configure Zig LSP 12 messages
Answered
`.@"enum"` vs `.void` syntax in Zig version 0.14.x 7 messages
Answered
sort Hashmap of str, int 38 messages
Standard Library 0.13.x
Linking issue between zig and c++ 😢 8 messages
Build System 0.14.x
Best way to convert int to enums safely? 8 messages
Answered
Linked List w/ Zig 13 messages
Answered
linkLibC in build.zig but returns lld-link: undefined symbol 14 messages
New User 0.13.x Build System Standard Library Answered
Struggling with bitwise operations. 16 messages
Answered
seems like there's a bug in the http client? basic fetches are failing(minimal example included) 8 messages
Answered
Initializing a struct that has a field that needs a reference to said struct 2 messages
0.14.x Answered
how do i make zls not translate my function arguments to const 4 messages
Build System New User Answered 0.13.x
Debugging Zig with codelldb - no variable scope 14 messages
0.13.x
ANSI C with Zig 4 messages
how do i get a function pointer from a function within a struct? 7 messages
Answered
how do i import a c header 100 messages
Answered
Can I "indirectly" set the value of a field? 8 messages
Answered
C ABI compatibility for (integer) bool type? 20 messages
ObjCopy in build.zig 40 messages
Help figuring out difference between non-vector and vector version of function 4 messages
translate-c generates code with errors 6 messages
Answered
Is `null` passed to an optional argument considered comptime-known? 3 messages
Can I test assertions inside a function without reaching unreachange? 5 messages
Trying to color pixels in a bitmap 16 messages
Answered
Zig equivalent to C #ifdef 13 messages
New User Answered
Error payload for parsing 10 messages
Windows: unable to find zig installation directory: FileNotFound 26 messages
New User Answered
[solved] Print braces from std.debug.print format string 3 messages
Answered
[solved] Passing []u8 to [:0]u8 argument. How? 3 messages
Answered
Move arena allocated struct to non-arena allocated? 34 messages
Answered 0.13.x
How to handle local nested dependencies? 48 messages
How to sort an ArrayList which contains a comptime type? 8 messages
Cast i64 to f64, but bitwise 2 messages
Answered
Any way to pipe Tag to a tagged union? 3 messages
Answered 0.13.x
type cannot be destructured 3 messages
Answered
Segfault when trying to call C function 2 messages
New User Answered