zig-help

21196 threads · Page 101 of 424

how can I have this formatting 24 messages
Answered
Potentially bloated executable 44 messages
Answered
One TranslateC vs several 2 messages
Answered
Compare active tags of Union 2 messages
0.14.x
Why does sliceAsBytes() drop addresses of zero-length slices? 4 messages
Can't seem to figure out the zig type equivelent of this jsons data. 24 messages
0.14.x Answered
Type errors 4 messages
Best way to fill a [3]u8 from a u8 and u16 11 messages
Is there any workaround for the 0.14 no fingerprint continual rebuild problem yet? 4 messages
Printing JSON string without appended type `JSON: void`. 6 messages
0.14.x Standard Library New User Answered
[CODE REVIEW REQUEST] Growable UTF8 strings in zig 8 messages
master New User
build.zig.zon 4 messages
0.14.x Compiler New User Answered
vulkan: replacing @embedfile shaders with runtime known shaders 40 messages
unable to evaluate comptime expression 12 messages
Need help using static library 23 messages
Modify C++ header during build? 3 messages
Answered
Additional 8 bytes for what? 8 messages
Answered
*const issue in for loop over array of structs 4 messages
cannot assign to constant 5 messages
0.14.x New User
undefined reference to memcpy 12 messages
Compiler Answered
General protection exception (no address available) 7 messages
How can I access an inactive union field? 6 messages
0.14.x Answered
How can I check is the target hardware supports fused multiply-add? 5 messages
Answered
Return comptime []const u8 from function 11 messages
0.14.x Answered
Where does this error const come from? 8 messages
0.14.x Answered
out of bounds access in external C library 65 messages
cast comptime pointer back to slice 7 messages
Answered
zig/zig2 is much faster than zig/build/stage3/bin/zig 14 messages
Compiler
mmap at address 0x00 with `std.posix.mmap` on Linux 6 messages
Is there a way to get any time report from the compiler nowadays? 5 messages
Answered
Using -fincremental actually takes more time than running build without fincremental 2 messages
Answered
Neater way of mapping enum to array 20 messages
New User
build.zig.zon changes 2 messages
0.14.x New User Answered
Nested/Split Enums 6 messages
error: C import failed 5 messages
New User, Day 1 of ZIG with: zig-windows-x86_64-0.15.0-dev.151+6e8493daa.zip 7 messages
New User
Using Sublime Text for Zig programming 4 messages
zig build doesn't re-run steps when directory changes(using std.build.step.run setCwd) 194 messages
Answered
Simple string replacement. 18 messages
Standard Library New User Answered
vulkan-zig and glfw, issues with glfwGetInstanceProcAddress 8 messages
How do I build std.builtin.StackTrace in any place? 2 messages
Answered
Layout of slices 7 messages
Answered
How to initialise a slice field of a struct 9 messages
Basic array operation and unexpected return values 2 messages
New User Answered
Custom test runner can't import modules. 3 messages
using a library without a build.zig in a similar manner to cmake's fetchcontent 12 messages
0.14.x Answered
Recommended Zig path on macOS 16 messages
Answered
Error: struct layout depends on being pointed aligned 44 messages
worse codegen in 0.14.0 4 messages
Building and linking to cmake projects from zig 3 messages