zig-help

21196 threads · Page 208 of 424

Indexing optional arrays 18 messages
u64 with first `n` bits set to 1 9 messages
Answered
values of type '[8]type' must be comptime-known, but index value is runtime-known 16 messages
Answered
Stringifying a struct with a []const u8 field containing `#` to json cacuses segmentation fault 37 messages
Answered 0.13.x
How to use std.Thread.WaitGroup 6 messages
Answered
Error Linking against C Linenoise: error: expected type '[*c]u8', found '*const [4:0]u8' 10 messages
Answered
Segmentation Fault when trying to read a file 5 messages
New User Answered 0.13.x
BoundedArray with provided buffer 55 messages
Standard Library Answered
libc musl unable to find dynamic system lib 8 messages
Question about pointers to array construct 8 messages
Answered
Creating null pointer of type `*opaque{}` type of HWND? 12 messages
Answered
[solved] Generic struct generation syntax error: no field named 59 messages
[solved] How to initialize a []const []const u8 with minimal syntax 10 messages
A function that takes in an arbitrary reader 15 messages
Best pattern for allocating slice on the stack? 17 messages
Answered
How to use a zig package? from github without a build.zig.zon 9 messages
Build System New User
Write data-structure out to JSON (custom types) 3 messages
Bitwise shortcut for someSignedInt modulo 8? 10 messages
Code Review: Brainf*ck interpreter 156 messages
Answered
Python to Zig 22 messages
New User 0.13.x
One executable for multiple operating systems 17 messages
Answered
Array to Slice 20 messages
New User
error: unknown CPU: 'x86' trying dropin zig as compiler to the meson build for babl library. 6 messages
Answered
provide custom build steps from a package 2 messages
Build System Answered
When to free slices copied into ArrayList 3 messages
conditional compilation winmain how? 11 messages
C++ struct defaults unable to compile in Zig 32 messages
New User Compiler Answered 0.13.x
Open file and create it if it does not exists 4 messages
Does ZLS work with included C headers? 3 messages
Write tests in separate files 7 messages
Build System New User 0.13.x
Alias cImport declared variables 13 messages
Answered 0.13.x
Why am I getting `unreachable` error while sorting? 2 messages
How to obtain a pointer to instantiated generic function? 2 messages
Answered
Matching union variants using if instead of switch 53 messages
Zigling 33 (iferror) 9 messages
New User Answered
Replace strings in comptime 15 messages
New User Answered 0.13.x
comptime function call check 18 messages
Answered
Failures during deallocation / destruction 3 messages
Using an ArrayList.fromOwnedSlice to manage a slice 32 messages
Answered
libressl doesn't build with target x86_64-linux-musl without -DENABLE_ASM=OFF 2 messages
Answered
Index `iter.peek()` 6 messages
Only one time check Vulkan function pointer optionals 47 messages
Answered
Why is first mutex lock the slowest 35 messages
New User
block bug, value left uninitialized 10 messages
[solved] @embedFile into argument: expected *T found *const T 6 messages
New User 0.13.x
[solved] error: Allocator not marked as pub 5 messages
Review my Zig code 15 messages
New User Answered
Zig thinks list is not mutated, despite the fact that it is 26 messages
0.12.x
initialize a string hashmap with values 2 messages
Answered
Adding -target aarch64-macos breaks my build on Mac ARM64 2 messages
Answered