zig-help
Trying to link in a library in my build file
Standard Library
Compiler
New User
'../' in @import?
Usize to Slice: Noob
Answered
What do I do with LazyPath?
Answered
How do you -femit-docs for zig build?
Answered
Termux missing libc
Answered
Build failure without compile error
Answered
how to change the name of .lib when compiling a shared library with zig c++
New User
How to make Zig understand that a `.h` included header is a C++ file?
Answered
Having trouble using SDL
New User
Answered
Value of type GPA ignored
Answered
Get all possible tags in an enum
Standard Library
Answered
0.13.x
What does "pub" mean for structs?
Standard Library
Does `and`, `or`, operators on boolean type gets optimized to bit operators(it probably does)?
New User
0.13.x
Array: doubling type and size definition?
New User
Reading into buffer of non-u8 type
Answered
How to initialize only some bytes of an array at declaration?
Answered
Alternatives to global constructor?
Config Headers
Which aspects of Zig code hinder inlined optimizations?
Answered
Is there a zig library registry for normal package?
Test Environment Changes
Setting environment during build
Cannot use the linux direct rendering manager subsystem
Answered
Why does a GPA in an ArrayList cause valgrind errors?
New User
Answered
0.13.x
Can you call a function by having a (comptime) string that matches it's identifier?
Answered
desktop and ci disagree on pm hash
Using the package manager?
New User
How to use std.fmt.comptimePrint correctly?
Standard Library
New User
0.13.x
use C header file from dependency in `build.zig`?
Segmentation fault/Integer overflow + unreachable code if the domain name is big enough
Answered
0.13.x
How trailing return is handled by the compiler after handling all the cases through switch statement
New User
Compiler
Answered
0.13.x
Read from std.in until EOF
How can I check memory leackage?
Segmentation fault with external C library (gRPC)
Logging my null-terminated buffer includes characters after \0
New User
Answered
Changing global cache dir results in compiles failing due to missing lib files
How can I define and invoke a function using HashMap?
Memory alignment
What is the lifetime of a comptime variable?
Create function pointers of struct functions
Answered
pop head (or shift) of an array literal
Unhelpful compiler error
Compiler
Issue with windows headers
New User
Answered
raylib with zig on windows- a ton of undefined symbols
Handling arbitrary length arrays
Conventions for libraries performing dynamic allocations
Code runs differently with `ReleaseFast` (minimal repro). Compiler Bug?
Compiler
Struct with dynamic types
error: incompatible types: '[]const u8' and 'void'
Answered