zig-help
[solved] removing zig-out and zig-cache folders. Store them in `./bin/...` instead
[solved] noob build.zig with 0.11 | Hello world not compiling. Tutorial uses deprecated syntax
Standard Library
Compiler
New User
Should I use a binding instead of translated C?
Value with comptime-only type '@TypeOf(.enum_literal)' depends on runtime control flow in loop
C import failed: File not found
slice of pointer must include end value?
Answered
How would you go about storing std.fs.Entry?
Passing options to a static C library build with Zig
Understanding Async I/O
WebAssembly example not working
Answered
Compilation error for simple command execution with Zig 0.10.1
0.10.x
New User
Is there a way to have `options` in build.zig be comptime known?
Answered
How can I execute external programs from during build time Build.zig
Reading from ChildProcess in non-blocking way
understanding []const u8, []u8 and allocation
Answered
Idiomatic shortening of "allocator" variable name?
Ziglings install, need zig development version
What's the opposite of @tagName?
Where is Andrew?
Answered
WebAssembly: "indirect call to null"
Answered
switch on error set
Answered
Error trying to use linux/kvm.h
Unable to compile using zig version 0.11.0-dev.2325+c964e1082 on MacOS
.Stdcall or .C
Cast Negative Number to Unsigned Integer at runtime
Answered
while with error enum and optional
uname system call on macOS
@import only accepts string literals?
It is possible to have optional anonymous struct literals?
Answered
Cryptic compiler error: error: TODO (LLVM) implement const of pointer type
Compiler
0.13.x
Can you handle an error when the system runs out of memory?
New User
Answered
stage3 build fails on macOS, "undefined reference to symbol 'dyld_stub_binder'"
Compiler
0.13.x
Changing a value from comptime-known to runtime-known
Latest version of zig init-exe seems broken
Unable to access option in source file
Access on 0 byte terminated alloc'd []u8 segfaults and dumps Entire stack and environment variables.
Writing to ChildProcess until it dies
Compiler hangs, what data should I collect to report it?
Compiler
0.13.x
How to ignore error of std.fmt.bufPrintZ
SIGSEGV in a multi-thread program when thread count increases
Answered
Stack trace and @returnAddress()
Pass allocated memory to ConfigHeaderStep safely
Standard Library
Compiler
0.13.x
nvim lsp configuration
New User
union access of inactive fields
importing structs with @import
No autocompletion for C imports in vscode
error: root struct of file 'test' has no member named 'main'
Answered
expect in a loop: identifying which failed
Answered
Changing subsystem, mainEntryPoint and excluding std?
New User
0.13.x
change linker
Compiler