zig-help

21196 threads · Page 275 of 424

@typeinfo return data type 18 messages
0.11.x New User Answered
Export a symbol from a non-root file 10 messages
Standard Library New User 0.13.x
How do i get the `setw` and `setfill` behaviour from c++ in zig print? 5 messages
Answered
Can I create a generic "vector"? 8 messages
New User
Passing build options to dependencies 2 messages
Answered
SDL_ttf not linking after Zig update 9 messages
memory managment when creating a library for C 5 messages
How to import a module into a project 5 messages
Doing weird shit with tuples 9 messages
New User Answered
Is this `switch` statement done at compile time or run time? 3 messages
New User Answered
@Vector semantics 20 messages
Answered
disabling var not mutated compile time errors 88 messages
Compiler 0.13.x
JS/WebAssembly shared memory and Zig pointers 16 messages
Do I need to free memory allocated using the std.Build allocator? 2 messages
Answered
Running all tests with zig test 2 messages
Answered
I don't understand how to switch on an error set 6 messages
0.11.x Answered
How do I debug a specific test? 13 messages
Accessing (dereferencing) a list of pointers from c struct 10 messages
Answered 0.13.x
Fat pointer conversion 11 messages
ZLS Autocomplete for external modules 8 messages
How can I create comptime slice according to function calls? 8 messages
writing an interpreter in zig 15 messages
panic: access of union field 'slice' while field 'slice' is active 4 messages
Answered
Failing to pass Writer as an argument 7 messages
New User
Dependency loop detected 3 messages
Fast & Debug differ from Safe & Small 6 messages
Compiler Answered 0.13.x
Why isn't `std.debug.print("{any}\n", .{@typeInfo(MyType)});` valid 2 messages
Trying to turn raw image data into an Image 23 messages
Tuple destructuring alternatives? 11 messages
0.13.x
Using package manager for repo with no tags or releases 3 messages
Is there a way to see why a @cImport path look up failed? 65 messages
Answered
how to edit variable with type of *const []u8? 60 messages
Substitute for `main_mod_path` 6 messages
Standard Library Answered 0.13.x
Get processors timestamp counter (rdtsc) 12 messages
Updated Zig and seeing issues 3 messages
New way to use std.sort 3 messages
How would i interface with C code that uses external libs? 22 messages
Zig build system code example not working out of the box 17 messages
Linking with -Wl,-no-as-needed 56 messages
Answered
How to use asm syntax 6 messages
How do you create a null terminated array which contains []const u8? 21 messages
Include path for c library built from source 12 messages
Answered
Questions about Zig 67 messages
VSCode intellisense is not working 3 messages
how to run an external command in zig .11 (or .12)? 7 messages
How to get generic parameters of a type? 17 messages
Answered
How would one implement java-style enums in zig? 88 messages
Answered
Inline tail calls 216 messages
invalid operands to binary bitwise expression: 'Bool' and 'Bool' 8 messages
embed generated file 6 messages