zig-help

21196 threads · Page 263 of 424

How do I obtain the name of a function and or variable/arg at comptime? 4 messages
Answered
How can I make null terminate at comptime ([]const u8 to [:0]const u8) 3 messages
Answered
How to generate assembly file 4 messages
Return 0-4 structs 11 messages
create array of string literals 4 messages
Make sure something happens comptime 2 messages
cast const to var 7 messages
Bit shift help 35 messages
How to make a unix socket in zig? 32 messages
Answered
Need help understanding strings and concatenation 5 messages
Unclear error: `error: error is ignored` 8 messages
Remove hashmap values and get back the values 8 messages
Answered
How to make a `type` value `const` 16 messages
Is there a current working minimal vulkan example? 6 messages
Answered
What is the idiomatic way to convert a scalar to slice? 2 messages
Answered
is there a way to read files on unknown size 5 messages
Answered
How to refer build option when use zig build-exe 6 messages
Answered
@ptrCast(@alignCast(data)) works outside fn but not inside fn? How can I get it to work w/in a fn? 8 messages
Reading/writing a tagged union as bytes (converting to/from bytecode) 5 messages
is comptime much faster than runtime 32 messages
Member functions that don't use the `self` argument 27 messages
cast C u32 buffer to Zig u8 buffer 10 messages
Get zls to keep indentation 22 messages
What are the options for exe.linkSystemLibrary? 6 messages
Answered
error: unable to unpack git files: BadZlibHeader 10 messages
Answered
Compilation error on `if (fallible) |_|` 9 messages
Answered
are there any http clients in zig that support sse? 7 messages
Dependency From GitHub 43 messages
How to properly communicate in one connection StreamServer 183 messages
Zig structs vs WebGPU structs 6 messages
New User
Bitcasting floats to ints 2 messages
0.13.x
How to ZLS? 7 messages
Answered
Conditional Imports 51 messages
How to check whether a slice is comptime or runtime known? 101 messages
std.io.getStdOut().writer() printing incomplete slice 8 messages
Answered
panic when allocating tagged union on the heap and activating a specific field 5 messages
New User Standard Library Answered 0.13.x
Transform [x]u7 into []u8 4 messages
New User Standard Library Answered 0.13.x
Need help with array 6 messages
vulkan-zig build file error 3 messages
Answered
Attach methods to a C type such as pointer? 14 messages
can i add tar.gz with c file as dependency 40 messages
What is the difference between std.io.AnyReader and std.io.GenericReader? 35 messages
Recursion segmentation fault after 500000 calls 34 messages
0.11.x New User
sigaction handler with Self parameter 11 messages
New User 0.13.x
Safe navigation 4 messages
async 3 messages
Compiler
embedFile can't seem to import module 39 messages
How to build a dependency with different optimization settings than parent project? 3 messages
Check if specific generic datatype 46 messages
Answered
`std.json.parseFromSlice` - need help understanding some memory management concepts 7 messages
Answered