zig-help

21196 threads · Page 94 of 424

How to translate macros? 24 messages
How do I make a library that you can fetch and use in a project? 51 messages
Answered
build dependency order not working? 5 messages
Answered
BufferedWriter.writeAll() doesn't write anything 2 messages
0.14.x New User
Compiling libc bits with zig cc 5 messages
Subsets of Enums? 13 messages
0.14.x Answered
can I define EMMALLOC_VERBOSE when linking libc in wasm32-wasi target? 6 messages
Answered
How to include a CMake library? 59 messages
Can't parse zon from slice on freestanding 72 messages
Answered
[ZLS Nightly][Master] ZLS can't find header info 8 messages
master Answered
Printing utf8 to console? 13 messages
String formatting with numbers 28 messages
Answered
What happens when you export an array? 12 messages
Answered
Threading 2 messages
New User
CLI parsing comptime struct with assigned type 11 messages
0.14.x New User
defer in inline function 5 messages
Answered
how to catch memory corruption only in wasm target 8 messages
Answered
Is having 2 separate threads, 1 to read stdout, 1 to write stdin, to a child process a good idea? 4 messages
how to apply patch to a dependency? 2 messages
Answered
recommended way of separating user errors (ex: config parse error) from application error (ex:logic) 2 messages
New User
How to configure `build.zig` for unit testing? 'zig build test' only works for `main.zig` 3 messages
master Answered
error: no field named 'put' in struct 'array_hash_map.ArrayHashMapWithAllocator 4 messages
0.14.x
Test is failing for base 64 url safe no padding 2 messages
0.14.x New User Answered
How to learn and understand the build system 16 messages
Build System 0.14.x New User
Is it possible to have a function pointer that returns an error? 8 messages
How to force an anytype callback function to return anyerror? 19 messages
Embed directory as a struct 4 messages
Answered
Assign Multiple Sequential Optionals 6 messages
Is it safe to not deinit when using an arena? 2 messages
Zig child build script picking the wrong target 6 messages
Answered
Is having an infinite while loop that keeps checking on a Mutex bad practice? 3 messages
Access static variables 6 messages
Compiler Answered
using nasm 10 messages
Answered
casting on assignment 4 messages
0.14.x New User Answered
bigint code slower than expected 20 messages
Answered
How to make @setRuntimeSafety(false) for the whole project? 10 messages
Building lua 5.4: undefined symbols for luac when linking shared library 8 messages
Build System 0.14.x Answered
Can i get enum variant's name as a string? 2 messages
Answered
lld-link error 3 messages
Answered
Subtract but dont go below zero? 20 messages
Incorrect types displayed on compiler error messages 33 messages
Generate a struct based on another struct at compile time(ish) 6 messages
0.14.x Answered
How to link against windows runtimeobject? 13 messages
Answered
Code review for simple coding challenge 15 messages
New User Answered
Is this a good, idiomatic API? 15 messages
std.io.poll alternative for windows 22 messages
0.14.x Standard Library
Zig c++ could not link against libfmt 120 messages
Answered
Does inline asm use intel or at&t syntax? 2 messages
Answered
Assembly file in zig project 6 messages
How to pass pointer to a func so that its value don't change in func if it changes in caller func? 14 messages
master New User Answered