zig-help

21196 threads · Page 266 of 424

What is wrong with this code? 72 messages
Answered
How can I create a *const []i32 from a [N]i32 array? 14 messages
Is there a way to find out the position in a file of a function declaration? 5 messages
detach child process 2 messages
What's the syntax to coerce a static string to a `[4]u8`? 4 messages
Answered
Fastest way to find a maximum number 11 messages
Beginner need help 19 messages
Need help with build.zig modules 10 messages
Answered
std.net.Address as a key in a HashMap 34 messages
std.SegmentedList 6 messages
Standard Library Answered 0.13.x
How to use zig build system to generate files necessary for compilation of the main executable? 4 messages
Best way to join/concatenate 2 []const u8 3 messages
Answered 0.13.x
what replaces `Build.Step.Compile.addOptions()` in 0.12.x? 5 messages
Need help with JSON 28 messages
zig build introspection 12 messages
Why there is no string utils in std lib 13 messages
Standard Library
Idiomatic 2D relative indexing? 15 messages
New User
Working with array 18 messages
Return error from `main` without printing it? 7 messages
Answered
Need a data type 6 messages
Branch likely / unlikely? 3 messages
Help with reading and printing input from console 16 messages
Answered
How to create an uninitialized allocator 195 messages
Answered
Need help with JSON 3 messages
What are the best ways to avoid global variables when needing to use one? 19 messages
Answered
Need help with string format 6 messages
How to convert an integer to a hex string? 9 messages
comptime usage in std.math 5 messages
Need help with http 29 messages
testing.expectEqualSlices fails while testing.expectEqualDeep works 7 messages
Segfault with reader on macOS 8 messages
Failed building Zig 5 messages
how to build zig compiler with zig-bootstrap 21 messages
Compiler Answered
seed std.crypto.random 6 messages
Answered
Watch variables and Valgrind in VSCode 9 messages
New User
Cross-compiling libvips 14 messages
Compiler New User
build.zig equivalent for -Dcpu=baseline 9 messages
Compiler 0.13.x
want potentially null pointer to array of compile time known size, no compiler error message 39 messages
Answered 0.13.x
Odd behavior when generating a hmac sha256 string 3 messages
zig fetch fails: TlsInitializationFailed 5 messages
Answered
I don't know if anything's wrong here but I think there is 40 messages
Answered
Calling zig from c 34 messages
How to compile zig2 in debug mode? 2 messages
Answered
Building the Zig compiler from source on Windows, stuck on Option 1b. 12 messages
Answered
convert character to string 25 messages
Answered
Better way to cast a slice of u8 arrays to a slice of null terminated arrays 10 messages
Answered
Is it possible to generate enum literal given its (string) name? 18 messages
Answered
iterate over multi dimensional array passed into function 15 messages
Answered 0.13.x
Neovim doing formatting and diagnostics without any config change--how? 6 messages
New User Answered
Zigglings - Quizz 4 - try catch 6 messages
New User