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