zig-help

21196 threads · Page 324 of 424

Trying to link in a library in my build file 3 messages
Standard Library Compiler New User
'../' in @import? 8 messages
Usize to Slice: Noob 11 messages
Answered
What do I do with LazyPath? 5 messages
Answered
How do you -femit-docs for zig build? 12 messages
Answered
Termux missing libc 24 messages
Answered
Build failure without compile error 3 messages
Answered
how to change the name of .lib when compiling a shared library with zig c++ 2 messages
New User
How to make Zig understand that a `.h` included header is a C++ file? 34 messages
Answered
Having trouble using SDL 2 messages
New User Answered
Value of type GPA ignored 38 messages
Answered
Get all possible tags in an enum 2 messages
Standard Library Answered 0.13.x
What does "pub" mean for structs? 4 messages
Standard Library
Does `and`, `or`, operators on boolean type gets optimized to bit operators(it probably does)? 5 messages
New User 0.13.x
Array: doubling type and size definition? 24 messages
New User
Reading into buffer of non-u8 type 6 messages
Answered
How to initialize only some bytes of an array at declaration? 7 messages
Answered
Alternatives to global constructor? 22 messages
Config Headers 5 messages
Which aspects of Zig code hinder inlined optimizations? 6 messages
Answered
Is there a zig library registry for normal package? 2 messages
Test Environment Changes 9 messages
Setting environment during build 5 messages
Cannot use the linux direct rendering manager subsystem 6 messages
Answered
Why does a GPA in an ArrayList cause valgrind errors? 9 messages
New User Answered 0.13.x
Can you call a function by having a (comptime) string that matches it's identifier? 2 messages
Answered
desktop and ci disagree on pm hash 51 messages
Using the package manager? 2 messages
New User
How to use std.fmt.comptimePrint correctly? 86 messages
Standard Library New User 0.13.x
use C header file from dependency in `build.zig`? 2 messages
Segmentation fault/Integer overflow + unreachable code if the domain name is big enough 4 messages
Answered 0.13.x
How trailing return is handled by the compiler after handling all the cases through switch statement 4 messages
New User Compiler Answered 0.13.x
Read from std.in until EOF 18 messages
How can I check memory leackage? 33 messages
Segmentation fault with external C library (gRPC) 74 messages
Logging my null-terminated buffer includes characters after \0 6 messages
New User Answered
Changing global cache dir results in compiles failing due to missing lib files 4 messages
How can I define and invoke a function using HashMap? 7 messages
Memory alignment 8 messages
What is the lifetime of a comptime variable? 5 messages
Create function pointers of struct functions 11 messages
Answered
pop head (or shift) of an array literal 43 messages
Unhelpful compiler error 3 messages
Compiler
Issue with windows headers 6 messages
New User Answered
raylib with zig on windows- a ton of undefined symbols 4 messages
Handling arbitrary length arrays 109 messages
Conventions for libraries performing dynamic allocations 285 messages
Code runs differently with `ReleaseFast` (minimal repro). Compiler Bug? 2 messages
Compiler
Struct with dynamic types 4 messages
error: incompatible types: '[]const u8' and 'void' 19 messages
Answered