zig-help

21196 threads · Page 128 of 424

"C import failed. note: libc headers not available" when using zig run 6 messages
New User Answered
std.mem.splitScalar throwing unclear error 8 messages
Trying to parse JSON into a nested struct 3 messages
Standard Library New User 0.13.x
Pre-preheated arena allocator 44 messages
Standard Library Answered
Is there way to not optimize my function? 18 messages
How to set a default value for struct fields with @Type 4 messages
0.14.x
Automatic FixedBufferAllocator? 2 messages
Answered
panic: incorrect alignment w/ map 18 messages
Answered 0.13.x
How to know the proper alignment when building a UnionField? 5 messages
New User Answered 0.13.x
Comptime function generating at top-level? 10 messages
New User Answered 0.13.x
Using lazy dependencies that are only required by a certain step 2 messages
Zig errors on compilation with GenericPoison while implementing a simple Cache 15 messages
Answered 0.13.x
Getting file extension of a std.fs.File instance 7 messages
Answered
Project Layout and build.zig 20 messages
Build System New User
How do you use a package after fetching it? 69 messages
Empty slice `ptr` value 11 messages
Answered
Deserialize json array 4 messages
How to know if the type was produced by a generic function? 26 messages
0.14.x New User Answered
Is there a way to access/see module's functions from within a module? 4 messages
Build System 0.13.x
Genericize switch for tagged union 9 messages
New User Answered 0.13.x
Zig in Fortran, I don't even know 2 messages
Standard Library New User 0.13.x
I cannot for the life of me comprehend zig arrays. 36 messages
Answered
cannot assign to constant 11 messages
New User Answered
Is this a dangling pointer? 6 messages
Answered
Error union is ignored 3 messages
Answered
temporary ref 2 messages
What is the equivalent of `--no-entry` and `--export=<function>` in the zig build system? 3 messages
Build System New User Answered 0.13.x
addAssembly "error: expected absolute expression" 2 messages
Answered
How to use dinamic libraries? 32 messages
Build System 0.13.x
Read File Stream Too Long Exception when only searching for single delimeter (\n) 9 messages
Include/exclude fields of a union in comptime 9 messages
how do i get seconds as f32 from u64 nanoseconds 4 messages
Answered
How to catch !void 3 messages
New User Answered 0.13.x
comptime_ints are confusing me in If block 12 messages
0.14.x Compiler
Is it possible to test the value of a packed u32 against a u32? 15 messages
file_namingConvention 3 messages
Answered New User 0.13.x
Why am i able to access the container level variable without using pub keyword ? 20 messages
Differences between builtin functions and normal functions 15 messages
New User 0.13.x
What is the type of an imported module 7 messages
directory iteration 18 messages
New User Standard Library Answered 0.13.x
Comptime radix tree compilation error 9 messages
New User 0.13.x
How to convert u8 to integer ascii value? 5 messages
Pass array of strings to a function, compare and return a bool value? 5 messages
Comptime Access Nested Struct Fields by Name 40 messages
Answered
error with websocket.zig 12 messages
Does zls not catch function argument type mismatches? 26 messages
Fix zig mismatch 7 messages
undefined symbol 84 messages
Answered
comptime help 11 messages
Answered 0.13.x
Importing Zig lib into C lib. 4 messages