zig-help
Is there an std function for concatenating chars to a string?
Answered
expected type '[]const u8', found '?[:0]const u8'
Standard Library
New User
C Library introspection
New User
how do i add -mwindows for windows targets in my build.zig?
DllImportLibraryNotFound when linking raylib WINDOWS
0.13.x
Casting pointer and len to a slice
Answered
Where is vtable stored when an ArenaAllocator.allocator is called?
Answered
single core usage when compiling zig
Compiler
0.11.x
Why is this a comptime value?
How can i delete the file contents
Language server not recognizing include path when not using build system
Compiler
Answered
0.13.x
Cross Compile C With Zig
error: identifier cannot be empty
0.11.x
Compiler
Segfault on hashmap pointers
Answered
0.13.x
addCSourceFiles force C++ compilation
how to add raylib to build.zig.zon?
Faster concurrent HTTPs downloader
Standard Library
0.11.x
Expected type [*c]cimport.struct_clipboard_opts found cimport.struct_clipboard_opts
0.11.x
New User
Answered
How to access public consts in File.zig
Answered
lld-link: undefined symbol when using a function from C header
Answered
Problem linking with a static library
Answered
target generating invalid instructions
Compiler
New User
0.13.x
How to use a c header file with zig program?
0.11.x
New User
Answered
noalias hint on struct member
no field named 'source_file' in struct 'Build.Module.CreateOptions'
Answered
What are specific steps to be able to use a library like sdl2?
0.11.x
New User
Is there a way to get any type into a `[]const u8`?
Standard Library
0.13.x
wchar_t literal in Zig
Compile C code that uses stdlib to WASM/WASI
how to pass struct as argument
cannot assign to constant
New User
q: replacing 1st occur of substring
New User
Answered
I did a simple program in zig, any suggestions?
New User
zigling 62 - explicit for loop expression returns
How are you supposed to get elements from an std.ArrayList?
Answered
Unique id for each type T passed into a function, at runtime.
New User
Answered
0.13.x
Initializing a pointer to a null-terminated array of null-terminated strings
Answered
Issues building release with SDL2
compile step setup depends on file generated by previous step
Clicking the compilation errors in the VS Code output
Answered
Get tag from tagged enum without switch.
zig build
New User
Why does this function return a `[]const u8`?
Answered
random float
Answered
How can we detect where's the format error from error message
Can build.zig execute other tools other than zig?
Answered
How can i fill heap allocated strings?
how can i get the total size of a StringHashMap([]const u8) keys and values
Answered
Should we allocate buffer inside in function or outside
Members of a file based struct are const, is this normal?
New User
Answered
0.13.x