zig-help

21196 threads · Page 421 of 424

string slice to c pointer and back 30 messages
Is there anyway to grab everything in between mem.startsWith and mem.endsWith? 30 messages
x86_64-uefi-msvc lld-link error 2 messages
Compiler
capture union arm check 5 messages
string utilities? 5 messages
How to handle FileNotFound with cwd().openFile? 4 messages
Is it possible to create a comptime function that returns a comptime computed sized array of values? 14 messages
ComptimeStringMap behaving differently with latest 0.10.0 9 messages
updating old std.Thread api 3 messages
Runtime cast error when there is none 46 messages
Compiler
How does one run all tests in all files ? 19 messages
[SOLVED] What is the `zig c++` workaround for cmake? 26 messages
Answered
expected optional type when assigning variable 2 messages
macOS - codesigning a library generated with Zig 11 messages
Trouble with concatenating strings 6 messages
New User
Should I expect ArenaAllocator to re-use free'd memory? 43 messages
Standard Library
Is there a Threads and Mutex example somewhere? 5 messages
Print float without scientific notation 2 messages
Standard Library
value with comptime only type 'comptime_int' depends on runtime control flow 62 messages
Compiler
Freeing a slice of length 0 66 messages
zig build run without compilation 9 messages
Standard Library
Should setting optional as undefined be a compiler error? 48 messages
_tls_index undefined when cross-compiling to Windows 3 messages
What type is to be used when copying a []const u8 into a []const u8 using std.mem.copy 12 messages
Turn a const pointer type into the base type. 28 messages
union to enum cast? 8 messages
where is a good short explanation of asyncawaitsuspendresume? 11 messages
How to retrieve a [;0]const u8 slice from an array [256]u8 ? 4 messages
New User
Is field not working? 16 messages
New User
View Comptime output 4 messages
comptime struct field definition 15 messages
How to control the stack in WebAssembly? 6 messages
Support for omitting start function in WASM? 23 messages
export on variables 14 messages
Using C headers emitted by zig 9 messages
mod vs rem compiler builtin 7 messages
How can I resolve package origin paths with Zig libstd code? 4 messages
cImport with complex numbers (native complex vs. struct-based complex) 5 messages
Compiling zig 20 messages
error - no package named 'tracy' available within package 'game' 2 messages
Pointer to anytype 5 messages
New User
Strings not being added together 2 messages
New User
optional type style 18 messages
New User
Get active payload of tagged union 5 messages
Methods of defining and calling inline functions 4 messages
How to obtain an slice of an array that is not fully filled 10 messages
New User
FileNotFound error when building with lib.emit_h = true 225 messages
Force resume or cancel an awaited function 7 messages
Can zig translate-c output cImport and cInclude instead of inlining headers? 18 messages
Sharing the same .zig file across subfolders 32 messages