zig-help

21196 threads · Page 121 of 424

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