zig-help

21196 threads · Page 126 of 424

Error trying to print [:0]const u8 14 messages
Passing an array of "strings"? 17 messages
Using . notation give different output 5 messages
Extracting data from binaries 20 messages
validity of pointers to zero-sized-types 11 messages
Missing anytype inference when migrating to 0.14.0, possible compiler regression? 4 messages
0.14.x Compiler Answered
Is it possible to create a function that accept both []usize and [_]usize? 4 messages
New User Answered
Bitcast not working correctly? 21 messages
Answered
What is the best practice for writing unit tests? 2 messages
Answered
What parts of the standard library are freestanding? (ie not depending on platform or architecture) 3 messages
Standard Library 0.13.x
Enums with additional payload 13 messages
Answered
Idiomatic way to manage memory 22 messages
struct pointer lifetime 5 messages
Answered
`std.debug.assert` in all release modes 4 messages
Answered
Optimise one liner for speed 10 messages
Answered
hidden control flow 42 messages
libwebsockets with zig 25 messages
Use a struct of parameters as input to an extern function that takes a large amount of parameters 13 messages
Zig Language Extension Installation Failure on Windows - "Cannot connect to c: resolve failed" 3 messages
New User
panic: reached unreachable code --> yet unclear where in my code caused this 72 messages
Standard Library New User Answered
Getting right most node 46 messages
0.14.x New User Answered
Why is there an align(1) here? 12 messages
Invalid escape character: 'e' 12 messages
New User
function signature requiring methods on past in type 11 messages
New User Answered 0.13.x
Checking for null 20 messages
New User
Type Mismatch Error Confusion: Where is this void actually coming from? 13 messages
New User Answered
How do you iterate over each enum? 15 messages
linkSystemLibrary only adds search path without linking the lib in a nix context 9 messages
Answered
adding __declspec(dllimport) to my build.zig 5 messages
Build System
What is the Ziggy way to do this (which was a switch/match) 35 messages
How to cast \*u8 to \*i32? 34 messages
Answered 0.13.x
embed directory 13 messages
modifying comptime struct fields 12 messages
initializing a DS with a []u8 48 messages
uri encode 6 messages
Use build.zig and source files in protected folder 14 messages
Build System 0.14.x Compiler
Beginner dynamic dispatch questions 14 messages
New User Answered
Is this a feature or a bug? 3 messages
0.14.x New User Answered
How to make a monorepo? 11 messages
Build System 0.13.x
referencing a type that isn't in global namespace 3 messages
Answered
zlib: data compressed with compressor cant be decompressed with decompressor? 9 messages
0.14.x Standard Library Answered
Exploring the Language: Error Handling 18 messages
0.14.x Standard Library New User Answered
How do I compile into an object file with build.zig? 8 messages
Build.zig set install_prefix from build.zig? 17 messages
Answered
Change build output directory? 3 messages
New User Answered
Iterator from slice 18 messages
0.14.x Standard Library Answered
what is target and how do you add modules to it? 7 messages
Using zig on iOS with “ish” ?? 16 messages
How to pretty print literals 7 messages
Standard Library Answered 0.13.x
C bindings linking error 28 messages
Build System 0.13.x