zig-help

21196 threads · Page 117 of 424

Best way to run my own code in a build step? 21 messages
Answered
How to get `[]const u8` into a `[c*]const u8`? 24 messages
Struct wrapping/aliases 9 messages
0.14.x
which one should I go for 5 messages
Answered
Having issues with putting a http.zig server up on localhost and my local IP as well 13 messages
Issue setting up raylib 27 messages
Answered
Why the alignment is off? 9 messages
New User Answered 0.13.x
type '[][:0]const u8' does not support array initialization syntax 26 messages
0.13.x
Is it more common to use s `src` folder or not use a `src` folder? 8 messages
What does "module.addSystemIncludePath" require for windows? 5 messages
New User
switch statement on "strings" 7 messages
New User 0.13.x
@typeInfo of type alias? 14 messages
0.13.x
Generic reader to accept reading from anywhere. 3 messages
Type info from allocator interface 3 messages
Standard Library
`anytype` for Writer interfaces 8 messages
Answered
Array initialization syntax on 0.14 2 messages
0.14.x Compiler Answered
How to create slice programmatically? 25 messages
New User 0.13.x
can I have a build step depend on content files? 3 messages
Build System New User Answered
u0 Type Inferred from Integer Literal, RHS of LSH 11 messages
Answered
C regex library 3 messages
print in build.zig in zig 0.13.0 38 messages
Answered
Is there a way to initialize a struct using values from an iterator? 48 messages
Standard Library Answered 0.13.x
Comptime arrays. 2 messages
Understand return with Error 4 messages
New User Answered 0.13.x
Is there a nice way to: `while ArrayList.items are not all zero continue`? 8 messages
std.posix.tcgetattr on Windows (realtime keyboard input) 5 messages
Bitoperations and shifting 7 messages
New User Answered 0.13.x
How to assign result of multiline if/else to const? 18 messages
How to use zls with zigup? 2 messages
Help with `ArrayListAligned` writer 10 messages
comptime known field 7 messages
Compiler Answered 0.13.x
0.13.0\zig.exe: InvalidWtf8 11 messages
Build System Answered 0.13.x
I don't understand exception 'error: incompatible types: 'fs.Dir' and 'void'' 4 messages
New User 0.13.x
Getting memory usage 13 messages
Standard Library Answered 0.13.x
How do you import SDL3? 219 messages
How to call a function inside union field 45 messages
Compiler 0.12.x
Top level build.zig to build/test subprojects 3 messages
error: tuple field has a name 3 messages
Compiler
How to create a slice from addr and length? 24 messages
std.os.linux.inotify_event.getName() doesn't work / pointer issue 12 messages
0.14.x Standard Library Answered
Save to develop with GPA and then release with c_allocator? 4 messages
Compiler says variable should be declared, but it already is. 5 messages
Compiler
The correct way to memcpy an extern struct out of a buffer. 25 messages
Answered
Package Hash in build.zig.zon Changed Unexpectedly? 82 messages
Answered
Create comptime type 2 messages
Answered
anonymous struct casting in 0.14? 8 messages
How to properly set up a zig project for vscode? 5 messages
comptime call of extern error in raylib 4 messages
Compiler Answered 0.13.x
How to assign from switch expression if the case has complex logic? 2 messages
How to import a github library into your project 228 messages
New User