zig-help

21196 threads · Page 50 of 424

Is it possible to create function hooks at comptime to functions returning "type" 17 messages
New User Answered
WASM data marshalling 11 messages
Standard Library
specify default test_runner explicitly 9 messages
Build System Answered
TlsInitializationFailed with proxy (also: cancelling http requests) 14 messages
Standard Library
SPIR-V does not work 2 messages
Compiler Answered
Var must be const or comptime 33 messages
master Compiler
master translate-c regression(?) workaround 5 messages
Build System master
How to handle runtime known alignment? 27 messages
master New User
`cmd.addFileInput` for directory 6 messages
Build System
Fastest way to do maths on slice of floats 2 messages
Answered
Working with large text files 11 messages
Standard Library New User
Questions on comptime allocation 9 messages
Initializing pages allocated by uefi.allocatePages 3 messages
master Answered
c strings 19 messages
Returning pointer to vtable in a struct 2 messages
Standard Library master New User
Correct way to interpret interfaces? 2 messages
Zig Build System Question 6 messages
Answered
bug reproduction sanity check 24 messages
Best way to read a "compact" struct from a byte stream? 20 messages
Missing ZLS autocomplete using sqlite 4 messages
New User
how should i manage allocations? 10 messages
New User Answered
opaque handling in translate-c 13 messages
master Answered
do different architectures swap argument order 13 messages
Assert slice lenght 17 messages
master
Compiling luau-lsp targetting wasm, 1.6k errors 17 messages
Providing module with C dependencies to another executable 28 messages
Answered
How to get caller's source location for cross-file comptime operations? 6 messages
How to actually use a library that was saved with `zig fetch --save` 4 messages
compiled .so not detected as having debug symbols 23 messages
Answered
Is use of `undefined` value considered Undefined Behavior? 28 messages
Answered
Expose build.zig helper to dependant modules 4 messages
Answered
DebugAllocator unable to report formatted stack trace 8 messages
Answered
Converting a [256]u8 to a [*:0]u8 12 messages
Answered
OS agnostic pipe 6 messages
Answered
How to print a float as binary 4 messages
Answered
Generating a lot of random floats between 0 and 1 2 messages
Answered
How do I use formating in a multiline string? 11 messages
Answered
testing zig project 3 messages
Answered
converting compile-time detection to run-time detection 9 messages
master New User
Do I need to deinit an empty std.ArrayList? 3 messages
New User Answered
Is there a way to cast a type of struct to another type of struct? 13 messages
Answered
How to dynamically create a slice of pointers in comptime? 6 messages
Compiler
need help understanding std.Io.Reader and its buffer 15 messages
Answered
Packed struct size 9 messages
Answered
How to cast a c_int to usize 27 messages
Answered
Compress Writer error 12 messages
master New User Answered
std.ArrayList going away? 4 messages
master Answered
Casting C-style pointers 11 messages
Explain the difference between `std.debug.print` and `std.log.info` for test blocks? 14 messages
Standard Library
Beginner: how to read all bytes from a file and parse as json on master (0.16) 6 messages
master New User Answered