zig-help

21196 threads · Page 333 of 424

When doing ziglings, how to stop screen on first failed test? 5 messages
Command line arguments 3 messages
Best way to detect an apple os? 5 messages
Mutlithreading matmul with a thread pool? 7 messages
`std::hint::black_box` rust equivalent in Zig? 2 messages
Answered
[]align(mem.page_size) u8? 70 messages
New User Answered
What type for a variable that will hold a BufferedWriter? 10 messages
Recommended way to parallelize IO tasks in zig? 40 messages
Question about return semantics 9 messages
Answered
Segfault when attempting to free a slice inside a struct 8 messages
Answered
How are unions allocated? 5 messages
New User Answered 0.13.x
Collect all filenames from a directory and sub-directories into an ArrayList without leaking mem 22 messages
New User Standard Library Answered 0.13.x
Why are Writers not fat pointers like Allocators? 32 messages
Standard Library
emit_docs OK 4 messages
Linking a shared *.so library in Zig. 6 messages
zig looking at stdlib even when not referenced? 9 messages
Answered
Printing a []const u8 but got something else 26 messages
Union convenience 3 messages
zig_trap() counting as non-ASM in naked functions of C backend? 5 messages
Compiler New User Answered
How do you make a generic function? 23 messages
New User
Trying to set up zig for vscode on windows 62 messages
Zig not working (W11 install) 49 messages
Compiler
expected type '*array_list.ArrayListAligned(u32,null)', found '*const array_list.ArrayListAligned(u3 5 messages
Standard Library Answered
why std built os tag doesn't have android? 3 messages
error: expected type '[*:0]const u8', found '[]u8' 32 messages
File existence checks 24 messages
Macro to test if C code is compiled using zig cc 8 messages
How to make a type optional? 6 messages
- 13 messages
New User Standard Library Answered 0.13.x
Zig compiler and Win XP x86 2 messages
Standard Library Compiler New User
How do I re-initialize a 2d array passed through function parameter ? 4 messages
Answered
How to get standard input from cli ? 266 messages
Standard Library New User
Error spawning artifact arg with execveZ 5 messages
cannot assign to constant 10 messages
pointer alignment guarantees 5 messages
New User Answered 0.13.x
Zig C Library Error 8 messages
New User 0.13.x
Building a C++ dependency 2 messages
Get the address of memory allocated on heap by ArrayList 9 messages
Standard Library New User
possible to check pointer alignment without panic? 7 messages
Answered
How can i initialize a variable with a function that takes a pointer as an argument? 8 messages
New User Answered 0.13.x
Generic function that prints the elements of a `std.ArrayList` pointer 98 messages
New User 0.13.x
How do I make godbolt show the function's assembly? 25 messages
New User
Difference between std.Uri.parse and std.Uri.resolve? 3 messages
Wanna learn Zig! 15 messages
New User
comptime usize to usize 5 messages
Convert to Integer 4 messages
0.10.x New User Answered
comptime io read and embedding files 8 messages
String Input 9 messages
0.10.x New User Answered
Using the package manager to fetch a C library 17 messages
0.13.x
Alignment of packed structs 12 messages
0.10.x 0.13.x