zig-help

21196 threads · Page 325 of 424

Slicing with [N..] 2 messages
Answered
CallConventions and IntPointers 8 messages
Answered
Allocate tagged union on the heap 5 messages
Answered
Is there a max array length or such ? 24 messages
Error: expected i32 found u32 5 messages
Standard Library New User
make compile step depend on other step 9 messages
Answered
Help explaining anonymous struct literal syntax 20 messages
New User
GeneralPurposeAllocator vs std.heap.page_allocator 4 messages
Is zig "The new C"? What is this language meant to be, what does it achieve and so on. 5 messages
FixedBufferAllocator for anytype 34 messages
New User 0.13.x
build.zig change install directory 26 messages
Answered
Unable to build zig compiler from source with ninja 14 messages
autodoc as build step for module 8 messages
Answered
@intFromFloat and other casts on Vector types. 11 messages
Answered
*const T vs T errors 2 messages
Answered
zig fmt incoherencies 7 messages
Linking headers for iOS 2 messages
Compiler
Am I managing the memory allocation correctly in this code? 14 messages
Ephemeral Port Numbers 2 messages
Standard Library New User Answered
std.fs.Dir.makePath requires a subpath but abspath also works. Is this a bug or feature? 2 messages
Answered
Failure to fetch packages when building ZLS? 2 messages
Create function at comptime? 16 messages
Standard Library New User 0.13.x
Question about std.heap.FixedBufferAllocator 10 messages
Answered
@shuffle lookup table without branching 24 messages
New User
std.meta.Tag and activeTag are all comptime 10 messages
Iterating over array of optionals 4 messages
New User Answered
Test only succeeds with a print statement in function call 39 messages
0.10.x New User
Get path of emitted obj file in make function 34 messages
Answered
Convert comptime anytype to function args 38 messages
Does the stdlib have a hashmap that works at comptime? 4 messages
Does comptime emulate an abstract machine or the local machine? 3 messages
error: expected a tuple, found .. 4 messages
Compiler New User 0.13.x
linking a static C library returns undefined symbol error 4 messages
Compiler New User Answered
Accessing anonymousDependency 19 messages
Compiler
type 'type' not a function 3 messages
Do we really need the use of @intCast and @as in the following case? 15 messages
New User Answered 0.13.x
Package Manager Docs 3 messages
Standard Library 0.13.x
addModule? createModule? 17 messages
Stacktrace printing not working on Windows (zig 0.11.0) 7 messages
Standard Library Answered
Some questions regarding left shift operator 2 messages
New User Answered 0.13.x
Pointer alignment casting behaves strangely across function boundaries 14 messages
Answered
gl.gladLoadGL() fails 21 messages
Answered
JSON missing optional field as null 14 messages
Answered
Raylib file drop 5 messages
Answered
mach-glfw example freezes on aarch64-musl platform 2 messages
Are slices inherently non-comptime? 6 messages
how do I make build.zig call itself 4 messages
How to ensure a function is called only once with `comptime`? 43 messages
How do I change the target abi? 9 messages
Answered
Request for ideas on multi-target C source project build.zig 4 messages
Answered