zig-help

21196 threads · Page 407 of 424

can i get a char[] from a c function in zig using u8? 10 messages
Is there a way to manually create a slice on one line? 2 messages
Proper variable declaration in Zig w regards to comptime and static (C Notepad Clone to Zig) 5 messages
How to get environment variable at comptime for build.zig 13 messages
Compiler crash with double-free in malloc in 0.11.0 self-hosted 5 messages
Compiler
embedFile() outside of package path (In zig-cache specifically) 5 messages
Comptime type with function taking parameters in self-hosted compiler 6 messages
Compiler
Compiler bug, worth reporting somewhere? 4 messages
Compiler New User
Is there a way to read a single character from stdin without requiring a return or enter keypress? 29 messages
how do import stdlib.h in zig? 2 messages
C import failed error 8 messages
Answered
Are single field structs guaranteed to have the same binary layout as their one field? 21 messages
New User
zig translate-c on binary 5 messages
Compiler New User
help on combining slices 18 messages
Standard Library New User
Zig Fails on Projects with Many C Files 9 messages
Standard Library Answered
Reference an earlier parameter 11 messages
What are the ides that support zig? 21 messages
This error message makes no sense when executing a program from Zig 45 messages
Standard Library
how do i create an so file? 6 messages
How to link c libraries and frameworks 3 messages
comptime enum mapper 20 messages
Zls file not found in cImport 6 messages
New User
Using comptime in function 12 messages
New User
Removing comptime 5 messages
Strange compile error (was I get segmentation fault during compile test) 18 messages
Compiler
What do you call `comptime` or `inline` in front of keywords? 3 messages
New User
Ignoring error case 3 messages
New User
how to prunes zig-cache properly? 14 messages
Does ZLS have inlay hints in most situations? 15 messages
New User
Cant Reifying a Struct 37 messages
New User
Indexing slice with runtime index 17 messages
New User
How to use zgl with mach-glfw? 17 messages
New User
Implementing `allocator` 111 messages
Including libc 8 messages
Can the names of variables be accessed? How are they stored during compilation? 30 messages
New User
neat way to 'deep' an array? 34 messages
Standard Library
What are Static Local Variables? 10 messages
New User
Dereferencing string literal 112 messages
New User
Can anybody explain what std.io.Reader.read function does? 16 messages
Standard Library New User
Adding icon to exe. (Windows only) 20 messages
Could someone explain |something| syntax outside of for loops 10 messages
New User
single large alloc or multiple smalls 7 messages
expected type '*[]u8', found '*const [N]u8' 69 messages
New User
putAssumeCapacity causes integer overflow 39 messages
How to pass argv's when executing an external program? 6 messages
Standard Library
Weird compiler error 6 messages
How do I change the output destination for zig 11 messages
VSC cannot install Zls 44 messages
New User
Fixing stage1 bugs? 13 messages
compare 2 strings 22 messages