zig-help

21196 threads · Page 383 of 424

How to link to a system library with current build system? 22 messages
Stack Pointers Question 12 messages
Compiler
SOLVED How can I send a signal to one specific of many threads without signal mask etc? (tgkill) 10 messages
Answered
Linking against C++ binary compiled with g++ 13 messages
Pointer to slice 20 messages
New User Answered
How to build an executable for an ubuntu machine while on a Mac? 33 messages
Is it Normal for `Zig test` to exit without output 22 messages
New User
Example of `std.process.ArgIterator` to get `argv` as string array 47 messages
Standard Library Answered
addCSourceFiles with wildcard 46 messages
Combining many static libraries into one? 9 messages
Best way to compare subbuffer to string literal 14 messages
How to generate new build.zig file? 43 messages
Answered
Reference counting for an immutable struct? 31 messages
Answered
inline assembly problems 2 messages
libc headers not available 6 messages
Compiler
Compatibility layer so that std.c understands non-standard libc function names 9 messages
Standard Library New User
Compile Time Stack Trace 2 messages
Answered
Are packed structs still broken? 5 messages
casting a pointer, why is it so confusing and convoluted 111 messages
wasm: functions not automatically exported 4 messages
Answered
how to modify my repository, given how `@embedFile` works. 9 messages
Answered
Ridiculous increase in RAM usage during zig build/zig build-exe 30 messages
How to get Entry(s) of a directory into an ArrayList without allocating additional memory for names? 11 messages
Standard Library Answered
A bit lost... Between Zig, C, C++ and WASM 12 messages
Compiler New User
Can somebody explain how Stream(Writer/Reader) interface. works. 11 messages
Standard Library Answered
Struct set field using other field. 30 messages
Answered
How to dump type info? 56 messages
New User Answered
What's the reader interface implementation for a non-comptime buffer? 25 messages
Standard Library
Can you create a struct whose fields are named after some enum values? Fields type would be the same 3 messages
Answered
How does creating libraries work now with the module system? 23 messages
Answered
error: StdoutStreamTooLong 3 messages
Answered
Shared common types between libraries 29 messages
Answered
Pkg is now Module? ok, but how to use? 14 messages
Answered
Is there a zig style guide? 5 messages
Answered
@boolToInt for vectors? 18 messages
Answered
Get libsoundio example to work 3 messages
New User Answered
Seemingly similar function get optimized completely differently 11 messages
Compiler Answered
Mixins with self passed from outer struct 19 messages
Answered
array initialiser 5 messages
Answered
Is it possible to `-|`/`+|`, saturating to the min/max of a *smaller*, comptime-specified int type? 76 messages
Answered
Splating array to parameter list 4 messages
Answered
Zig web Backend framework 10 messages
Answered
Statically link C library 7 messages
Optional capture with "or" 12 messages
Answered
Simple, idiomatic way to copy `[]const u8` to `[:0]const u8`? 22 messages
Answered
Best way to use zig in c project without using zig as root build system 8 messages
Answered
concat "strings" together with `++` 22 messages
Answered
Why is pointer-to-many to opaque disallowed? 8 messages
Compiler Answered
Memory address from a function scope still exists after function returns. Expected to see a panic 6 messages
Standard Library New User Answered
Returning mutable data structure via tuple 19 messages
New User