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