zig-help
Trying to get a random float between 0 and 1
0.14.x
New User
Answered
How to apply logic and to @Vector(N, bool)?
plz help! Segmentation fault
0.14.x
New User
no type named 'mutex' in namespace 'std'
0.14.x
Answered
How do you reverse the control flow so that err is the main path?
Confused about `file.readAll`
Can we detect availability of module/package at comptime?
Creating a directory before running a build tool
Build System
0.14.x
Answered
How to patch a dependency?
pointer arithmetic changes alignment?
master
Compiler
Answered
How do you read a fixed number of bytes?
Compilation does not link against libc
tagged union "subtype"
issues with comptime
Answered
How to view master docs / std lib docs locally?
How do you create a file? (what is this error???)
Watch mode fails on WSL2
Build System
0.14.x
Compiler
Answered
Join two anonymous structs
0.14.x
passing `fmt` parameter in custom formatter
bitfield |= CS8
Implicit mutation of function table
Answered
Zig Build Basics : link downloaded Raylib
No stack trace for testing compilation error
Do I have a reasonable understanding of strings/arrays/memory/slices?
Answered
Swithc on a tagged union Q
New User
Answered
Performance cost of smallest scope declaration?
Answered
launch shell commands in a sub shell in zig.build
Generating structs with memory offsets.
Answered
Do strings behave differently in zig 0.14 ?
Answered
Is auto-dereferencing a good thing? And can compiler handle it correctly?
Compiler
New User
Answered
How does this code work?
New User
Answered
How do you check if an int is valid for an enum?
0.14.x
Answered
addSystemCommand for a .exe fetched as a dependency?
Answered
Is that a bug?
Answered
Understanding local vars and comptime
Answered
lld-link: undefined symbol: __ubsan_handle_type_mismatch_v1 when compiling in ReleaseFast
Build System
Compile-time fields vs. constant declarations
slice of union literals
Getting continous memory leaks.
Inline assembly duplicate symbol (ReleaseSmall)
0.14.x
Compiler
how to get the address of a label?
Answered
Cast c_int to bool
0.14.x
Answered
Function return values inconsistent (DLL)
0.14.x
New User
Answered
How to use pointer in struct?
[_]u8 fails to print
Answered
For loop expression when is the value in else used
Answered
Inconsistent build, bad caching?
How Zig understands that directory contents changed since the last build? `Step.Run.addDirectoryArg`
Build System
0.14.x
Answered
Use struct field within a struct field
Answered
Termios CC VMIN and VTIME
Standard Library
master
Answered