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