zig-help
type 'u5' cannot represent integer value '32'
Answered
Profiling Zig on macOS (tools and/or docs?)
Unexpected compiler error building on Windows with shared network drive
C Preprocessor broken in newer version
Answered
How to alloc struct using FixedBufferAllocator?
Standard Library
New User
is_constant_evaluated
zig build-lib -femit-docs without included stdlib sources?
Answered
unreachable crash in posix.waitpid()
Answered
Ability to generate C header from zig code
Unable to run tests in a submodule: `error: import of file outside module path: '../main.zig'`
How to thread http stuff?
0.14.x
Standard Library
Zig tracked fixed size array
Answered
Making sure all handles get closed.
Answered
Arbitrary type array
Which stack allocates `MyStruct` in case I have a func like this: `fn myFunc(MyStruct)`
Is anyone able to see asm on godbolt using the self-hosted backend?
linkSystemLibrary with pkg_config not finding library
Undefined Symbols when Building using addTranslateC
Compiler
New User
Answered
Project Not Recognizing cImport
Build System
Answered
Should I cast a u_size in a loop to a u8 or do something else?
0.14.x
New User
Trying to make a tensor struct with compile time dimension checking
Strange code behaviour, help
New User
0.13.x
Best practices for including dependencies source code in Git repo
I'm struggling to build a project using a C library
Answered
I need help with a c Macro in a librery
New User
Answered
0.13.x
Unable to create static table of function pointers
Answered
0.13.x
Copy string from literal to allocated []u8
New User
integer identifiers in enums?
Answered
Zig somehow gets an u5 when theres no code that makes or references a u5
How are strings handled in Zig?
Answered
Why does StringHashMap fail where StringArrayHashMap succeeds?
New User
Standard Library
Answered
0.13.x
How do I return a pointer to an element in an array
0.13.x
Failed to find the zls executable in neovim
New User
Answered
Initialize nested mutable structs in struct literals.
Structs that accept a generic type
Compiler
0.13.x
Cross-compiling with C library dependency
Build System
Answered
non-singleton global?
Standard Library
New User
Dynamic system library not found
Input being weird
Answered
better way to do this? abstracting os specific code
Answered
Windows connected socket will not use non-block on read
Answered
storing multiple values with a single map key
0.13.x
Code/Project review of new 64bit dynamic boxed type library
Answered
While loop shenanigans
Question about endianness
Strange Issue: error: unable to evaluate comptime expression
Answered
error: dependency on libc must be explicitly specified in the build command
Answered
Can i add functions to structs at comptime?
Type switching on pointers and optionals
Answered
"constructor" naming convention
Answered