zig-help

21196 threads · Page 215 of 424

Are there non-zero integer types in Zig? 41 messages
New User
Enum from struct keys? 6 messages
Answered
Zig segfaulting while loading json 10 messages
New User Answered
How to write this export to pass to a C library? 37 messages
const HashMap that you can deinit() 19 messages
Answered
reader from []const u8 5 messages
Answered
Initialising an ArrayList of union (+ slice literal best practice) 18 messages
Answered
Modifying types 25 messages
0.13.x
Is there a faster way to extract a zip on windows? 57 messages
Standard Library 0.13.x
Variables not showing up in LLDB 5 messages
why `error: argument unused during compilation: '-nostdinc++'` 3 messages
`init` and `defer deinit` in a loop 7 messages
about pointer behavior 8 messages
Answered
what is the purpose of `root.zig`? and why do i need to include imports into it for testing? 33 messages
Answered
Removing Elements from Lists ? 13 messages
New User Answered 0.12.x
adding local zig library as a dependency 6 messages
Build System Answered 0.13.x
How to declare and zero initialize a multidimensional array with runtime dimensions? 14 messages
Answered
Trying to bind entire Tree Sitter (C) library from scratch. Where do I start? 75 messages
Build System New User Answered 0.13.x
Question on std.mem.tokenizeAny(u8, input, " ,"); 14 messages
Answered
returning a slice from a function 10 messages
New User Answered 0.13.x
Can someone help me convert the following C++ method in zig? 69 messages
Answered
libc somehow got dynamic linked when I build it for my pc but not my phone 7 messages
Answered
String format at runtime 4 messages
New User Standard Library Answered 0.13.x
Why would an array list cause a memory leak from appending a value? 5 messages
Standard Library New User 0.13.x
Detecting leaks of memory allocated by C library 3 messages
What does this error mean? 3 messages
`asOptional()`, am I inventing a wheel? 18 messages
modify return type if comptime argument 7 messages
Answered
Cache behavior in custom build step 37 messages
Answered
Attaching extra information to a error 26 messages
GPA detecting memory leaks from Arena Allocator, even after .deinit()-ing the arena. 4 messages
Answered 0.12.x
Idiomatic iteration for single-pointer doubly-linked list 15 messages
0.13.x 0.12.x
Is there a cross platform newline? 28 messages
Is there enum tag to string? 4 messages
wrapping std.fmt.bufPrintZ in a function with a buffer problem 2 messages
New User Answered 0.13.x
Unable to find zig installation dir 8 messages
New User 0.13.x
Convert [128]u8 to [:0]const u8 ? 43 messages
Answered 0.12.x
Multiply usize with f32 6 messages
Compiling to Wasm : u32 becoming i32 10 messages
Compiler Answered 0.12.x
Anyone have a sed script to change "var" to "const" ? 10 messages
Stupid question about array as function argument 35 messages
Answered 0.12.x
Writing a nix derivation for zig project 10 messages
Answered
multiple install steps 32 messages
Answered
Allocator.dupe, but for scalar? 4 messages
Standard Library Answered
Update `StringHashMap` key 3 messages
Answered
How would i embed a file and cast or whatever it into a struct? 28 messages
0.14.x Standard Library New User
segfault when stringifying nested std.json.ArrayHashMap 45 messages
Standard Library Answered 0.12.x
Changing what enum a struct variable points to 9 messages
@as complains: expected type 'f32', found 'u16' 4 messages
New User Answered 0.12.x
how do I link lua in zig? 40 messages