zig-help

21196 threads · Page 361 of 424

Zig trying to use memcpy in freestanding 16 messages
How to use thread 58 messages
UDP socket 5 messages
Standard Library
Type conversion from [2][]const u8 to [][]const u8 for use as function argument 13 messages
New User Answered
How should I act on "C import failed?" 4 messages
0.10.x New User
convert prt integer and len into slice 8 messages
Creating 2 Dimensional Array with Neither Dimension Known At Runtime 15 messages
How to use cache in custom build step 7 messages
Standard Library Compiler 0.13.x
Is there a function like std.fmt.parseInt, but just parses an int from the beginning like C's strtol 25 messages
Standard Library 0.13.x
compiling a sokol header(s) to a dll with zig 9 messages
error when implementing logFn in wasm 6 messages
[*c]u8 -> []const u8 converting 20 messages
0.10.x Standard Library New User Answered
Do anyone know why zig build breaks on this specific build.zig 8 messages
Standard Library 0.13.x
mask a C dll function with zig 2 messages
Answered
member function expected 1 argument, got 3 13 messages
Answered
How can I import a dependency's build.zig from a parent directory? 6 messages
New User
Question regarding the use of `const`. 11 messages
New User Answered
Cmd line args parser 4 messages
New User Standard Library Answered 0.13.x
Understand tests imports? 34 messages
Answered
Is there a way to create slice inline with array initialization? 3 messages
New User 0.13.x
Wasm gives empty ouput 25 messages
Parsing a struct with nested structs in JSON 5 messages
New User
b.dependency() is deprecated in build.zig 8 messages
0.13.x
fix build error 5 messages
Using zig as a cgo compiler on MacOS, I am getting the following error : 2 messages
Zig build error 2 messages
Answered
__zig_probe_stack undefined in static library 31 messages
New User Answered
using external allocator in a library 2 messages
0.10.x
Packed Struct not actually packed 132 messages
Answered
How to get the exe path? 15 messages
Get *const Allocator from *const std.heap.GeneralPurposeAllocator 23 messages
New User Answered
inspect optional value 4 messages
Answered
ZLS not working Neovim M1 17 messages
Comptime error if not unsigned 3 messages
Answered
std.mem.span doesn't accept strings anymore 14 messages
Standard Library Answered
[resolved] Zig name convension 4 messages
Answered
What is the best practice of memory 2 messages
New User
raise error and get trace across extern library 2 messages
Questions in regards to using zig with other languages 2 messages
Slow compilation when using std.http.Client.request 23 messages
Compiler 0.13.x
How does []?void work? 8 messages
New User Answered 0.13.x
Linking against wgpu causes various linker errors on windows 154 messages
Compiler 0.13.x
Dumping byte array while writing test 3 messages
New User Answered
how to get the hash and url of a github repo for the package manager? 9 messages
Answered
How do I embed file relative to project root? 8 messages
strip *path* from debug symbols? 17 messages
Loading extension functions of WinSock2 6 messages
Zig compiler segfault on init-exe example project 84 messages
zig test with external module 2 messages
New User 0.13.x
How to write a library in zig that can be consumed by other zig apps 157 messages