zig-help

21196 threads · Page 144 of 424

Different optimizations for different functions 8 messages
Answered 0.13.x
Zig idiomatic way to add between signed and unsigned types? 3 messages
In error catch blocks, is it possible to return a value to assign `const v` here ? 5 messages
New User
What are @functions and how to make one? 9 messages
Answered
VSCoders, I need your help 24 messages
Build System
Why does this catch on error union test fail? 8 messages
Answered
std.time.nanoTimestamp() - start_timestamp = 0 14 messages
0.14.x Standard Library New User Answered
Determine build target at comptime? 8 messages
Build System Standard Library New User 0.13.x
how big are pointers? 22 messages
New User Answered
zig json thing 9 messages
Standard Library New User Answered
std.math.isInf that works with ComptimeFloat as well as Float? 2 messages
Answered
Link GLFW + OpenGL c sources and headers 9 messages
How to get from string literal [*:0]u8? 13 messages
Address operator automatically casts to const 28 messages
Answered 0.13.x
Fix Array of Different Size Error 11 messages
New User 0.13.x
Union depends on itself 34 messages
Can someone recommend a command line application whose source code I can use as reference? 2 messages
New User
Struct Layout 65 messages
Answered
Big ZLS delay for some reason, can't pinpoint what the issue would be 10 messages
Answered
How to get a non-const pointer via `@field`? 6 messages
Answered
pause() in Zig? 3 messages
0.14.x New User Answered
Getting a type back from a Type 3 messages
Answered
Struct check if all fields are initialized 22 messages
Zig Optional on array get ? 19 messages
Renamed extern function/symbol: Possible? 8 messages
tetris: zig-spoon on MacOS is still blocking stdin for whatever reason 4 messages
Answered
Zig Emscripten target 3 messages
Answered
Why `@unionInit` takes a string instead of enum literal in its second arg? 34 messages
A problem when using `std.mem.readInt` 17 messages
Answered
Debugging build errors. 23 messages
0.14.x Compiler New User
Allocator param names 11 messages
How do I add this project into my build.zig.zon? 2 messages
0.13.x
[solved] translate-c output: Is this needed or redundant? 2 messages
Answered
Native way to get the system user information 8 messages
Standard Library 0.13.x
what is this function as a struct member? is this real? 23 messages
0.14.x New User Answered
Given an array of types, how to generate a struct type with a field for each type in the array? 3 messages
Answered
build exe for wasm32-wasi with libc++ 5 messages
0.14.x Answered 0.13.x
How to transform an array of types into an union type? 2 messages
Answered
What should I name a function that only allocates memory 5 messages
Answered
Function returning struct instead of just creating the struct 6 messages
What is fn's parameter `is_generic` field and how to check if a parameter is comptime? 35 messages
how to print something in test 5 messages
0.14.x New User Answered
Modifying data via tagged union interfaces 9 messages
Answered
How to use StaticStringMap and packed struct 6 messages
Module is duplicated when arguments are passed to b.Dependency 3 messages
Build System 0.14.x Answered
[solved] multiarraylist with a null field. How is the data stored? 88 messages
Answered
Passing build options to an imported module's dependency 4 messages
Answered
length of error command result 2 messages
zig compiler give segfault at options.addOptions() 19 messages
If release mode in zig 12 messages
Standard Library Answered 0.13.x