zig-help

21196 threads · Page 375 of 424

Saturating cast 4 messages
How do I download and install a specific patch of the zig 0.11.0-dev version on my M1 macbook? 5 messages
How to access tuple members in lldb? 13 messages
Converting an i32 to an f32 13 messages
Standard Library New User
atoi function in std? 3 messages
New User
comptime help 8 messages
inconsistent behavior on slice[0..x.len:0] 5 messages
Zig fmt max line width. 7 messages
test order 19 messages
how to free the memory allocated by .dupZ()? 11 messages
Module dependency 3 messages
Answered
Trouble debugging tests on Windows using VScode and lldb 3 messages
Answered
Factory using inline for 66 messages
New User Answered
Taking Over 60s to compile a 50L project on each successful compile 19 messages
Answered
Windows SetConsoleMode not in windows.kernel32 2 messages
memory barrier in included C files results in unresolved symbols 3 messages
Compiler
getting a binary representation of a struct 21 messages
What allocator to give std.heap.ArenaAllocator? 19 messages
Is there any guarantee about the value of len when a slice is undefined 3 messages
Answered
Is there a way to have several functions at ascending addresses? 17 messages
Errors building Zig master on Windows w/ devkit 9 messages
Answered
use package manager to download cpp sources, use cmake to build it 21 messages
Criterion for built-ins 16 messages
processor affinity and distinguishing types of cores 4 messages
How to use package manager on Zig master? 2 messages
type conflicts between OpenCL and zig11 12 messages
Answered
How do I link Direct3D 12 and related libraries on Windows? 14 messages
Unable to use @cImport with libnds 10 messages
Is there a way to instantiate a struct from a function but call a method on the struct before? 9 messages
Answered
AST Visitor? 12 messages
How to create a specific Union on heap? 30 messages
Compiler New User
Function literals? 2 messages
Debug Symbols not included? 6 messages
mutable struct from readStruct 54 messages
Custom format function 4 messages
Confusion about types and bitshifting 10 messages
Jump to function from interrupt? 4 messages
Unable to resolve comptime value 31 messages
What exactly is []const T? 333 messages
Answered
Can I generate a struct init function? 7 messages
WASI execution error in start.callMain 4 messages
Answered
How can you implement relative pointers in zig? 60 messages
Answered
Multiple Variable assignment? 3 messages
Library Build Error using "examples-raylib.zig" 3 messages
trying to import sqlite3.h through @cImport. But getting a cast error. 20 messages
Parsing arguments from the command line in vanilla zig 118 messages
Read an entire file at once without size limitation. 33 messages
Struct depends on itself with `*const` functions 2 messages
How to convert from *[]const u8 to [*c]const [*c]const u8 29 messages
Answered
want to clone an array 51 messages
Answered