zig-help

21196 threads · Page 77 of 424

Trying to output AIR using build-obj 9 messages
master Compiler Answered
Directory walking fails on linux but not on mac? 14 messages
Why isn't BufferReader().readAlloc() working on WASM (EMSCRIPTEN)? 12 messages
packed struct question 81 messages
Answered
Why does GitHub think some zig repos are c? 3 messages
check C headers at runtime 7 messages
Using Matter With Zig 2 messages
Build System 0.14.x Answered
Properly use @cImport in a multifile project 114 messages
alternative to errdefer 18 messages
0.14.x Answered
Can't wrap builtin usage with zig version check 28 messages
Answered
Can you import non-standard modules in build.zig? Or - what is this code doing? 5 messages
is there a way to cast non const value const? 14 messages
Answered
Why @sizeOf(tag) field in unions must be equal to alignment? 8 messages
Optimize worker pool 108 messages
New User Answered
Replace libc 2 messages
Build System
trying to call LAPACKE from zig keeps segfaulting 8 messages
Answered
How do you import modules into the build.zig itself? 19 messages
reduce repetition in converting bytes to struct 3 messages
how to use addNamedWriteFiles? 19 messages
Ideas for a modular program 5 messages
New User
Std Debug Print not working as expected 19 messages
0.14.x Standard Library Answered
build.zig memory allocation 4 messages
Build System
zig master, no module named 'root' available in within module 'std' 9 messages
master
Local Variable seems to change value after ArrayList reallocates (has no reference) 4 messages
0.14.x Answered
using zig build in a C++ project 6 messages
Build System
Are non exhaustive enums with the same tag type guaranteed to have the same layout? 6 messages
master Answered
How to cast u32 to [*]c_uint 38 messages
New User Answered
How do I read a Byte or return null? 3 messages
Standard Library New User Answered
How does std.Options work? 8 messages
Optimization issue 4 messages
master Compiler
Can you pass variables from build.zig into a comptime variable in zig code? 15 messages
Comparing []const u8 and [:0]const u8 3 messages
ZLS struggling on initializers 9 messages
0.14.x
Help with parsing JSON 11 messages
0.14.x Standard Library
format string fails to recognize my args as strings 3 messages
Build System 0.14.x Standard Library Answered
Failing to link libraries 45 messages
Build System Compiler Answered
How do you deal with package struct conflicts? 7 messages
instantiate union(enum) 8 messages
0.14.x New User Answered
dynamic? comptime array 6 messages
master New User
stbi_image.h doesnt compile 10 messages
Build System 0.14.x Compiler Answered
Best way to deinit elements in a list? 3 messages
Dereferencing anonymous structs on the stack is valid? 8 messages
Answered
Inverse of @compileError 3 messages
What differs between demo build.zig and my build.zig 12 messages
Answered
using zig with C as the toolchain 32 messages
Build System 0.14.x Answered
How to build mingw gnu .a file in zig 0.14.1 9 messages
Why is this a contant? 31 messages
0.14.x Answered
Are zig files considered structs? 8 messages
Why сompiler do not raise error when generics recursion is used? 2 messages
Compiler
shift behaviour clarification 19 messages