zig-help
Import zig package
Cannot compile an Enum with only one element when passed to AutoHashMap.
Standard Library
Shared library referencing another
Learning To Iterator
Is there an equivalent of Python's `fileinput` module in Zig?
Standard Library
New User
About tuple declarations
How to properly parse numbers?
What is the canonical way to read a file line by line?
Sum a slice of u32
Standard Library
New User
Emulating cpp's template values with `comptime` fields in structs
Is it possible to index into a string with a variable, comptime known index and an inline while loop
Can function return multiple values?
How can I get the maximum value in an ArrayList of integers (i32)?
info.plist
How do you detect an error in zig?
General Purpose Allocator with a fixed buffer.
print runtime string? (like command line arguements)
Answered
WASM linear asm syntax reference?
Answered
Does zig support setters?
New User
How to mix `Debug` and `ReleaseFast` in one exe∕lib?
How to diable SIMD instructions?
addStaticLibrary() with multiple Zig source files
Can I build some binaries using stage1 and others using stage2 in the same build.zig?
Array access to [*c]?*anyopaque segfault on Windows
Zig equivalent of clang -Oz optimization?
Questions of Zigs compile time evaluation story
How to use the zig's JSON stringify function.
embedfile with zig run
expected type '[]const u8', found '?[]u8' when trying to use GeneralPurposeAllocator
Compare two values of `union(enum)`
Why am I getting a const discard error trying to append to an optional list?
Truncating integer to arbitrary-sized integer
Return slice from WASM
Multi-line string type confusion
New User
Passing parameters to child process (converting '[][*0]const u8' to '[]const []const u8')
Standard Library
Unable to build glibc CRT file
Why do the `std.mem.Allocator` methods pass self by value?
Zig using C++ with a C Interface
How to get the type inside an optional?
In a function, can I get the name of the calling function?
Typeof with const values?
New User
no field named x when there is in fact a field named x
How do you control whether the self-hosted compiler gets used?
New User
Why does Zig not allow for casting non-void values to void?
Any work-arounds for creating coroutines (async) in stage2?
Answered
Why segfault?
How to create a slice on a sentinel terminated array
Can you recomend YouTube full video tutorials on Zig?
Return an optional error union type
Compiler
bytesAsValue (array to array casting)