zig-help

21196 threads · Page 268 of 424

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