zig-help

21196 threads · Page 150 of 424

can you get doc strings from typeinfo? 3 messages
checking struct type 3 messages
New User 0.13.x
pass a const type as a parameter 20 messages
why do i get `error: ` in stdout? 21 messages
Answered
Good practice for string concatenation 31 messages
0.13.x
What's the difference between those two options 3 messages
defining functions after compiliation? 2 messages
@This explanation 2 messages
Answered 0.13.x
Using addObjCopy with specific path 4 messages
Confused about @ptrCast with allocated memory 11 messages
0.13.x
Parsing a json file specification, and creating its relevant Zig code 7 messages
Standard Library Answered 0.13.x
Zig toolchain & Go 23 messages
Compiler 0.13.x
error not a member of destination error set 14 messages
Answered
Create empty array satisfying type [*:null]?[*:0]const u8 6 messages
zigglings problem #62 40 messages
New User
Does this function have the correct types? 20 messages
How to sort array of [] const u8? 5 messages
0.14.x Standard Library Answered
Distinct type helper function 8 messages
Make a generic `type` in a struct recognize a method from another struct 4 messages
Answered
error: unable to resolve comptime value 9 messages
Standard Library
error: expected type 'void', found 'error{SystemResources,Unexpected,OutOfMemory,ThreadQuotaExceeded 4 messages
0.13.x
how do I know what allocator to use 3 messages
Getting a const pointer from StringArrayHashMap 7 messages
Standard Library 0.13.x
what kind of allocator should I use? 5 messages
First day writing Zig and have got Segfault 36 messages
Read overflow bit 20 messages
heap array pointer zig to c 13 messages
Switch capture on a union(enum) pointer 2 messages
Answered
How to access the Return Type of a fn ast node? 3 messages
What is this syntax: align(a\:b\:c) 3 messages
Answered
How to send file descriptor over socket in zig? 4 messages
Standard Library Answered 0.13.x
Is the tag location in a tagged union's layout guaranteed? 6 messages
0.14.x Answered
correct way to share build options across modules? ("error: file exists in multiple modules") 6 messages
Answered
Deinit keeps erroring due to cosnt 13 messages
0.14.x
Forcing use of system libunwind.h and linking system libunwind 2 messages
0.13.x
is there an easy way to transmute a u32 to a f32? 23 messages
Problem with free keys in map 10 messages
Answered
Cant allocate comptime calculated type 39 messages
New User Answered
Specify custom CA certificate when building zig app that uses zon to fetch dependencies 8 messages
Appropriate way of supplying the buffer in std.fmt.bufPrint 19 messages
Hot to typecast negative values? 2 messages
Answered 0.13.x
Check if an AST identifier is a built-in type 28 messages
load testing http server 15 messages
Wrapping extern var with a type. Ideas on how to? 8 messages
Standard Library New User 0.13.x
Copy a runtime string 6 messages
is it faster to print() individually, or combine strings to print() once? 2 messages
0.14.x Standard Library New User Answered
How to pass -Doptimize=ReleaseFast to dependencies 8 messages
Cast [4096]u8 to [*]u8 7 messages
openFile stackoverflow error ? 8 messages
New User Standard Library Answered 0.13.x
Is it safe to return a pointer to a field of a struct? 9 messages
Answered