zig-help

21196 threads · Page 243 of 424

inline for loop to create u1, u2, u3, u4, u5... variables? 32 messages
`--export` equivalent in build.zig 2 messages
Answered 0.13.x
@TypeOf(instance.property), but when I don't have an instance? 2 messages
Answered
Any guide for writing Zig so that you can export it as C-interop lib? 58 messages
GUI issue 4 messages
0.13.x
Why Zig tokenizer uses null-terminated slice `[:0]const u8` as an input instead of just slice? 58 messages
How to cast literal array with `.., 0}` at the end to `[:0]` slice? 11 messages
Answered
signed packed struct 23 messages
Answered 0.13.x
is dynamic string possible with zig? 25 messages
New User 0.13.x
cast array type 11 messages
New User 0.13.x
build.zig.zon "expected field initializer", package with hyphenated name? 20 messages
Exporting C library from Zig 38 messages
Can't install 0.12 with homebrew 5 messages
Compile error "SmallVector unable to grow" when working with large vectors 6 messages
Inconsistent naming style of Built-in functions 3 messages
Standard Library 0.11.x New User
@setEvalBranchQuota in static initialiser 3 messages
Cannot build Zig from source: cannot find llvm-config 5 messages
how to remove std.debug.print for wasm compiles? 3 messages
Compiler New User
how to embed file outside of the package? 6 messages
New User 0.13.x
Get struct's field name passed to a function 4 messages
Can't read unicode string correctly 4 messages
Zig build test filtering tests 4 messages
What does "Bus error at address 0x200000002" mean when calling a member function of a struct? 3 messages
New User 0.13.x
"argument to function being called at comptime must be comptime-known" 13 messages
How to convert a string literal to [*] const [*] const u8? 3 messages
New User Answered
Executable name 7 messages
how to handle comptime mutable memory with an array of slices 20 messages
How to determine whether a struct declaration is const or var? 6 messages
Answered
Why does stdlib repeat itself? 5 messages
Standard Library Answered 0.13.x
Tests failing if I run them twice? 48 messages
Should I... 8 messages
Answered
broken pipe when interacting with ffmpeg 13 messages
0.11.x New User
thread 17456 panic: unable to find artifact 'zigwin32' (Tying and failing to use dependencies) 26 messages
New User Answered 0.13.x
zig init / init-exe doesn't work 15 messages
Compiler New User
Is this an idiomatic way of creating struct instances with an allocator? 7 messages
0.11.x New User Answered
Reading blank line separated data from file 10 messages
Is an Arena pointer stable? 3 messages
Standard Library Answered
Redirect `io.getStdErr()`into file at runtime 29 messages
Answered
libxev VS cImport around libuv or other loop events libraries 3 messages
Answered
Is there a way to get comptime tag in inline else on a tagged union when switching on it? 11 messages
ComptimeStringMap eval limit: how to get around? 27 messages
in zig vs odin which is more low level 12 messages
Answered
Using std.mem.Allocator for C allocation callbacks 5 messages
Strategies for tracking dangling pointers 82 messages
Answered
using enums to set and read bits 11 messages
New User
Separation of concerns in Zig’s tokenization and parsing? 3 messages
Tools to help debug memory leak/do memory profiling in criticalproduction applicaiton (100$ bounty) 63 messages
Is there a way to escape "{" and "}" in fmt print calls? 2 messages
Zig equivalent of (void*)-1 61 messages
Getting hashes for tarball urls for the builtin dependency manager 14 messages
0.11.x New User Answered