zig-help

21196 threads · Page 182 of 424

Windows executable crashes on other machines 15 messages
Build System Answered 0.12.x
Compiler struggles to infer my types 32 messages
Compiler Answered
Different results in Debug/ReleaseSafe vs. ReleastFast/ReleaseSmall 16 messages
trying to use zig build-lib to compile cpp source 3 messages
package hash mismatch 5 messages
Build System 0.13.x
How to include a c header file using translate c in build.zig (alternative to `@cImport`)? 2 messages
Answered
Is there a log expression function in std? 5 messages
Answered
How to print out two const/vars? 23 messages
Answered
Generic types as function's parameter type 53 messages
Use string array values as parameter type? 5 messages
Issue related to zig caching directory 5 messages
Compiler New User
memory corruption with some basic polymorphism 20 messages
New User Answered 0.13.x
help setting up a "list" or `[]i8` slices for a test 30 messages
Convert []u8 to [:0]u8 16 messages
Future Zig ergonomics and composability 20 messages
Answered
Best practice for empty error sets? 3 messages
Answered
can you uncomptime 55 messages
Copy cpp mechanism to zig 3 messages
is i0 a valid type? 63 messages
Answered
proper way to allocate arrays for external c libraries 17 messages
Answered
comptime in structs 20 messages
Using Passing slices to functions. 36 messages
previewing 'www.ziglang.org' repo locally not working - panic: CreateFile /Path/To/File/hello.zig 9 messages
Determine if a function can be evaluated at comptime 30 messages
Simple Async 5 messages
Calling zig build from CMake. 3 messages
Build System
Correct way to expose an object in a dependency 5 messages
Build System 0.14.x
Panicking on Incorrect Alignment when using a custom stack 12 messages
Answered
builtin.returnError() is really slow while targeting Emscripten 7 messages
UUIDs for Types 37 messages
Check if target is posix 5 messages
0.13.x
Does this code work? 60 messages
Make translate-c add a comment for the file where it found each definition 9 messages
Compiler 0.13.x
Cross compiling to Windows from Linux linking to DLLS 5 messages
stdlib documentation? 3 messages
Standard Library New User
Zig freezes in test when trying to read 7 messages
New User Answered 0.13.x
Why is stdout/stdin behind a function 3 messages
Standard Library 0.13.x
Confusion with `self: *Self` and const/var 13 messages
Data race problems 11 messages
understanding lifetimes with `std.StringHashmap` 4 messages
When to allocate instead of using stack based memory? 8 messages
Answered
anytype in struct explain 2 messages
Concurrent calculations for K-means clustering 4 messages
Answered
root struct of file 'std' has no member named 'rand' 11 messages
Difference of BoundedArray and ArrayList(...).init(FixedBufferAllocator) 2 messages
Standard Library Answered 0.13.x
pass array of strings to a function 16 messages
New User
mmm how do you orelse 7 messages
Answered
Proper way to set up build.zig for library/module 4 messages
Build System 0.14.x New User Answered
Why is type coercion with @as() a compiler builtin function rather than a language level feature? 13 messages
New User
post on ziggit related to getting stdout without syscall 3 messages
Answered