zig-help

21196 threads · Page 369 of 424

tgz decompress 72 messages
Standard Library New User Answered
Setting --no-entry from build.zig 12 messages
How do I check whether a certain CPU feature is supported? 6 messages
Answered
can you switch on a tuple? 19 messages
Answered
Why is 0 not a compiled const (New User) 2 messages
Compiler Answered New User 0.13.x
embedFile with generated artifact 6 messages
Answered 0.13.x
error: wasm-ld: undefined symbol: strlen 19 messages
How can I coerce a Value into its corresponding field of a tagged union? 40 messages
Answered
StringHashMap mangles internal structs allocated data 119 messages
Answered
importing c header file 6 messages
Compiler New User Answered
Why does running this example reach unreachable code? 2 messages
Answered
Value with comptime-only type 'comptime_int' depends on runtime control flow 3 messages
Answered
How to fix "error: import of file outside package path"? 29 messages
New User
twiddling zig's knobs 20 messages
Freeing an ArrayList of big ints? 8 messages
Standard Library New User Answered
Is there a built-in function for converting between built-in vector types similar to `@as`? 3 messages
New User Answered
Reading string and int from stdin 10 messages
Answered
brew --HEAD fails to install 2 messages
0.13.x
access of union field 'Pointer' while field 'Struct' is active 23 messages
Answered
How to collect from std.mem.tokenize? 14 messages
HashMap key duping safe? 2 messages
Inline assembly gives incorrect results 6 messages
Answered
is there a way to get the test name from inside the test block? 18 messages
Answered
What's the best way to print sub command help 7 messages
New User
zig build test not running on a fresh project 6 messages
C (s)scanf lib/replacement? 2 messages
Standard Library New User
can i pass arguments into build.zig during the compilation to define variables? 22 messages
Answered
get typeinfo for methods of struct 16 messages
mutating arrays within functions 15 messages
Answered
Can I define methods outside the struct block? 7 messages
Answered
Strange behavior on ArrayList 37 messages
Answered
using C type that has the same name as a C function? 6 messages
Answered
stdlib function for finding enum "count"? 6 messages
Answered
specify number of digits after the decimal point in formatting 12 messages
Answered
Proper way to close child stdin 4 messages
Missed optimizations involving non-power-of-two integers? 53 messages
New User 0.13.x
weird types behavior? 31 messages
Concurrent Collections? 6 messages
New User
How to add to HashMap(int, void) 6 messages
Answered
Return a function from comptime 10 messages
New User
See code produced by inline loops, functions, etc 2 messages
Compiler New User Answered
How to find the unexpected token when parsing JSON 8 messages
Standard Library New User
Stack like data structure 17 messages
0.13.x
How to print struct field default value? 18 messages
Growable writer 4 messages
Standard Library
returning computed strings with allocPrint() vs returning Formatter(f) 10 messages
Learning Zig 36 messages
0.10.x New User
Define fn taking pointer to type that can use dot syntax 17 messages
Instantiate struct with union type inside 16 messages
C Lua bad translated NULL 40 messages