zig-help

21196 threads · Page 370 of 424

WASM: wasm-ld: undefined symbol: __stack_chk_guard 15 messages
Strange error: "error: root struct of file 'c' has no member named 'fd_t'" 15 messages
error: "epoxy/gl.h" file not found 125 messages
How can I make ZLS aware of include directories? 8 messages
Answered
What is the build.zig equivalent of "-rdynamic"? 8 messages
How do I make Zig link with asan? 12 messages
Is it possible to have an anytype in a struct? 5 messages
New User Answered
zig one shot script 5 messages
`zig build test` no output 8 messages
Answered New User 0.13.x
Adding multiple Zig sources to be compiled into objects in build.zig? 2 messages
Answered
How to free Exec result? 9 messages
Answered
Questions about modules and dependencies 4 messages
What is the right way to store arbitrary number of `std.ArrayList(?)` in another `std.ArrayList()`? 57 messages
Can I see the source code of the @XXXX functions? 14 messages
Answered
Miscompilation catch with GDB and QEMU 20 messages
Answered
[META] I love this forum thing where I can ask questions, but how do I review old questions? 10 messages
Example of using the cimgui library directly in Zig 8 messages
Is there a Compile time allocator 20 messages
Answered
more idiomatic way of rewriting optional-using code? 10 messages
does popping an element out of an arraylist require it to be freed? 50 messages
lib.linkLibCpp(); leads to "fatal error: 'bits/syscall.h' file not found" on MacOS 2 messages
What are modules? And how do i create them? 6 messages
How can I reproduce this effect from Templates in other languages? 31 messages
Answered
ZLS and Eglot 138 messages
Answered
Debugging comptime failures 28 messages
How to run a cmd using build.zig 28 messages
how to c-translate multiple files at once 5 messages
math.h not found error while using zig translate-c 2 messages
Is `std.mem.copy` supposed to work on wasm? 41 messages
0.10.x Standard Library New User
Nesting a generic struct 8 messages
Answered
Linking to `.dylib` - how to do it properly? 4 messages
Why is it that std.meta.eql() does not follow pointers? 54 messages
Raylib import giving strange error 32 messages
What's the feature/option that enables @errorReturnTrace not to be null? 6 messages
Answered
Is there an idiomatic way to initialize some indices of an array, and default the rest? 4 messages
Parse a json object into a struct with unknown sub object 2 messages
Is there tooling for generating the hash build.zig.zon expects? 6 messages
Alternatives to "Comptime Drilling" for Large Sections of Conditional Code 27 messages
Any configuration about the `zig fmt` for vim user? 8 messages
New User
Using std.os.linux.poll 3 messages
Standard Library New User
Building ZLS on FreeBSD - "error: TlsInitializationFailed" 45 messages
how to get a property of a struct that's a property of a struct 44 messages
New User
Convert int to string 36 messages
How to generate C output from build.zig? 2 messages
Mix Zig and C code in an existing project without changing the build configuration 29 messages
Allocate values 13 messages
multi-dimensional slice with runtime known lenght 3 messages
Runtime string eql 26 messages
How does @TypeOf(.EnumLiteral) works 22 messages
Answered
[solved] 0.11 How to add a library into a build.zig file? 15 messages
Compiler New User Answered