zig-help

21196 threads · Page 156 of 424

Construct `[]const u8` from u8 13 messages
New User
Break slice into ptr+len pair, then reassemble it? 4 messages
0.13.x
-/- 11 messages
Telling the compiler a var is not undefined 25 messages
New User 0.13.x
MPSC with delayed consumer 3 messages
dll export does not work under windows 8 messages
Answered
segfault on comptime constant initialization 8 messages
Answered
construct a function-call from a comptime string of its name 3 messages
Answered
what is the difference between these two? 9 messages
Print global variables in gdb 18 messages
How to return value from else block? 4 messages
Answered
Unable to evaluate comptime floating point math? 4 messages
Answered
Gstreamer AppSink GstPad cannot contain anyopaque 8 messages
Answered
Translate-c file not found 7 messages
Answered
how to convert [:0]const u8' '*const [66]u8' 67 messages
Test command failed while executing test 2 messages
How to share header library types across multiple zig files 3 messages
Answered
Casting an array into a c slice 2 messages
New User
how to test without user input 5 messages
Answered
Loading extern functions inside enum 13 messages
Answered
Building with WinMain on Windows 6 messages
Build System Answered 0.13.x
zstbi with emscripten, zstbi out of memory 11 messages
New User 0.13.x
Compile C code to object file and link to it 8 messages
How to use std.crypto 4 messages
Standard Library Answered
Weird behavior of winsock2 while multi-threading / Zig std not following convention with winsock2 52 messages
Answered
How to `zig cc` multiple .c files? (*.c is not working) 4 messages
Answered
Simple app that calls another app with an argument: How? 2 messages
get the build date at comptime 26 messages
Answered
Writing/Sending isn't working on Windows 14 messages
0.14.x
Zig project fails to compile on linux kernel 5.15.x .. is ok on 6.x 2 messages
why is this unreachable 5 messages
Answered
How to detect native OS and arch tags? 6 messages
Answered
Check if caught error is a member of a specific error set 4 messages
Answered
Spurious `void` arguments to `std.debug.print` when testing 4 messages
Answered
Does LinearFifo benefit from having its reader or writer buffered? 6 messages
Answered
Converting from `[3][]const u8` to `[][]const u8` 2 messages
Answered
Inserting characters into a middle of a string, creating a new string. 19 messages
Answered
loop with comptime and non comptime parts 3 messages
Zigling Questions about slices and errors 13 messages
New User Answered
Access fetches dependencies in build.zig 5 messages
Answered
What's the idiomatic way to randomly select between union variants in Zig? 18 messages
0.14.x Standard Library New User Answered
Distinct types 14 messages
Answered
cross-platform way to get available bytes to read number in TCP stream 77 messages
Answered
best way of getting a fixed-size array as function parameter 4 messages
Allocators and Scope Question 16 messages
New User Answered
Unable to evaluate a seemingly evaluate-able comptime expression 21 messages
0.14.x Compiler New User Answered
Add C source file build flags to dependency that has build.zig 3 messages
Answered
Segmentation fault while testing 11 messages
New User Answered 0.13.x
Is it possible to do +1 of a pointer 25 messages
Answered
Override header file in C library zig zon http dependency 10 messages
Answered