zig-help

21196 threads · Page 198 of 424

[4]u32 to a Vec(f64, 4) 15 messages
Making comptime data available at runtime? 40 messages
New User 0.13.x
Can I run a function that requires a comptime string at runtime? 5 messages
Answered
Coerce [*c]c_int to []bool 32 messages
Answered 0.13.x
Unable to fix memory leak. Or need an basic example using ArrayHashMap with MultiArrayList as value. 20 messages
Assembly output, where to start 4 messages
Build System
lsp not working for external modules aynmore 94 messages
Answered
confused about alignment? 6 messages
Zig extension for ST/Vim 3 messages
Answered
Which is more idiomatic to have the same logic for when optional is null and doesn't pass a test? 4 messages
Are variables created in comptime static? 23 messages
New User Answered
using c bitfield api in zig 17 messages
How do you know what you must deinit? 7 messages
Answered
Whats the best way to handle system libraries for cross compilation in a package ? 21 messages
Build System Compiler 0.13.x
Ignore struct fields when formatting 14 messages
EnumFieldStruct - access fields by enum tag name 3 messages
Answered
EnumFieldStruct with Optional values that default to null 2 messages
Answered
not compiling when changing a dependency 65 messages
Build System New User Answered 0.13.x
What's the difference between std.PriorityQueue and std.PriorityDequeue? 2 messages
Array initialization code not working? 6 messages
New User Answered 0.13.x
Review / questions about comptime 15 messages
0.13.x
enable autofix for zed editor 11 messages
How to make addFileArg work with the wasmtime integration? 14 messages
Build System New User Answered 0.13.x
Referencing an anonymous struct field 8 messages
How to initialize a 2d array of bools to false? 2 messages
New User Answered 0.13.x
Packed struct size 9 messages
New User Compiler Answered 0.13.x
How to import files outside module path using `../`? 57 messages
Answered
What does EnumArray.iterator().next().key yield? An enum variant or an array index? 3 messages
How to concatenate a string and an int into a new []const u8? 61 messages
0.13.x
error: expected type ‘*T’, found ‘*const T’ when passing allocator from struct to ArrayList 23 messages
0.14.x New User Answered
How to stop the app's process if a previous try failed? 150 messages
Standard Library New User 0.13.x
Parsing a JSON file at comptime 3 messages
Standard Library Compiler New User 0.13.x
Best practices regarding the type of "self" in methods 2 messages
New User Answered 0.13.x
How to get response data in ResponseStorage when using http.Client.fetch? 23 messages
Standard Library 0.13.x
Dir iterator is not itreatable 2 messages
Answered
Auto formatting error? or me issue? 6 messages
producer consumer patterns 9 messages
Answered 0.12.x
Array indexing with int type variable 6 messages
0.13.x
compare union 5 messages
Answered
[solved] Existing way to deal with strings containing paths 3 messages
New User Standard Library Answered 0.13.x
Compiling Raylib 4 messages
Build System
How to get type of bare union field 21 messages
Answered
[solved] *const but I don't know where its being const 22 messages
Answered
generating 32 random bytes with std.Random but dont understand init() 20 messages
typecast []u8 arra to [64]u8 array 91 messages
Integer overflow? 20 messages
Compiler New User 0.13.x
hasing password with std.crypto 17 messages
Answered
Namespacing outside struct 37 messages
New User
Build Question(s) 9 messages
Build System New User Answered 0.13.x
Sparse MultiArrayList? 2 messages
Answered