zig-help

21196 threads · Page 367 of 424

How do I use the new package manager on master? 7 messages
New User 0.13.x
Building using zig master 7 messages
Segfault with _start but not with main in debug mode? 18 messages
Answered 0.13.x
What is zigs memory model? 11 messages
Answered
Why does accessing data of my tagged union change how the switch reads the next union in the slice? 10 messages
Answered
comptime type builder 23 messages
Answered 0.13.x
zig build test on master 17 messages
Answered
What is the best way to learn zip compiler 5 messages
The correct way to init an array with embedded struct inside 12 messages
New User Answered
Zig (master) error when executing run step 7 messages
Compiler 0.13.x
Recursive structure / forward declaration 6 messages
New User Answered
get the value of a union given a tag 15 messages
Answered
learning zig; 0.10 or main? 20 messages
New User
Zig roadmap? 2 messages
Can I change the cache folder? 10 messages
New User Answered
array literal requires address-of operator (&) to coerce to slice type '[]u8' 8 messages
Reached unreachable code 5 messages
Are these two function declarations the same thing? 12 messages
Compiler
Can I pass `std.mem.asBytes(&some_struct)` to `RunStep.addArg`? 66 messages
Include other source files into the build process 9 messages
Alternative to CompileStep.setOutputDir 4 messages
Answered
Trying to get started with Zig and sdl2 11 messages
Is `inline fn` and `fn ... callconv(.Inline)` the same? 4 messages
Answered
Can I have 2 names for the same field inside a struct? 35 messages
Answered
How can I tell `zig build` to build for some target `T` ? 2 messages
Maximum precision formatting 50 messages
Answered
function called at runtime cannot return value at comptime 85 messages
Answered
Is it possible to disallow vs code from killing zls when it crashes too much? 4 messages
copy and modify "string" in []u8 buffer with length 13 messages
New User
switch: match any negative number 2 messages
Arraylist seem to override buffer once end instead of resize (heap.page_allocator) 22 messages
Answered
Arena allocator in struct 23 messages
Answered
Zig for loop for editing array 82 messages
Compiler New User 0.13.x
defer keyword 32 messages
New User Answered
convert []u8 to [:0]u8 for passing into functions expecting char* in C 10 messages
Zig pointer defaults 24 messages
Compiler New User
`[]const u8` to `[]const u64` 93 messages
failed to build master 4 messages
Answered 0.13.x
Zig comptime help 10 messages
New User
Fail on calling `raylib.MeasureTextEx` with c pointer question 7 messages
Answered
About `if` assignment 4 messages
New User Answered
How to use `deleteTree()` properly? - *WARNING not with "/" * 2 messages
errors when compiling stb_image_write.h 12 messages
Answered 0.13.x
Atomic Operations with booleans 4 messages
Answered
How to zero-initialize a slice (size 100) 5 messages
Add null sentinel to comptime string 17 messages
Answered
Populating all fields of a struct without default values with an inline for loop and @field 19 messages
How do i have a generic function return an amount of bits to shift by 4 messages
std.io.bufferedWriter + std.compress.deflate.compressor 5 messages
Answered
How to create a named pipe? 15 messages