zig-help

21196 threads · Page 64 of 424

Package dependency issue? 9 messages
trying to link libsecp256k1 in c with zig 10 messages
how to appendRemaining into a ArrayListAlignedUnmanaged 30 messages
std.io.Writer.Allocating usage 5 messages
(WASM) export file with function to wasm 3 messages
Basic low level question 92 messages
0.14.x New User
invalid link in Linking to System Libraries 6 messages
Compiler
0.15.1 Reader confusion. 5 messages
master
How to get a Writer 2 messages
master New User
std.ArrayList now unmanaged in 0.15.1 31 messages
How does 0.15.1 file writer work with seeking? 5 messages
Combine comptime and non-comptime versions of function 18 messages
Unreachable error type in switch not removed from returned error set 4 messages
The writeAll function in std.http will block indefinitely once it encounters a long payload. 15 messages
assembly constraint for tbl.16b 4 messages
best way to do mixins? 62 messages
Is a global thread-safe root allocator a good pattern for multithreaded shared allocators? 9 messages
Discover user home profile in build.zig 18 messages
macos rosetta cross-compile 6 messages
is there a more dense way to cast a slice to u32? 11 messages
Need to call a init function on an unrelated module to solve circular dependency 6 messages
error(gpa): Double free detected. Allocation: ???:?:?: 0x1160ace in ??? (exe) 5 messages
Panic on accessing hash map with hmap.get(key) 19 messages
Generating efficient byte jump tables at comptime 11 messages
find_library equivalent in build.zig 6 messages
same type error 92 messages
0.14.x New User
Zig import translation generates non-buildable code 3 messages
DLL without callconv(.C) 12 messages
0.14.x Standard Library
zig fetch from local gitea server fails: TlsInitializationFailed 2 messages
Build System 0.14.x
Improving my custom writer in 0.15.1 36 messages
Alternative to `writeBytesNTimes` in 0.15 9 messages
Is there a way to generate a build.zig.zon for a project not created using zig init? 17 messages
Build System
linking one zig project with the other 4 messages
0.14.x New User
What happened to `io.Reader.readInt`? 9 messages
Does File.Reader need two buffers? 8 messages
Seems like my random number generator is seeded at compile time 19 messages
Stuck at "unable to resolve comptime value" 10 messages
confused about usingnamespace is removed ... but also still there? 4 messages
Use same value in multiple fields on struct 20 messages
0.15.1 replacement for `std.io.GenericReader.readStructEndian()` in `std.io.Reader` 2 messages
Can I get a `*Something` from a `?Something` if I know the value is not null? 5 messages
Creating a struct with an internal buffer and a field that has a reference to that buffer 76 messages
Standard Library master
How do I, within test scope, check if an assert fails? Is there a try std.testing.expectPanic? 30 messages
Anonymous struct, check for strings and copy them 10 messages
Bitwise Ops: Packed Structs Vs Enums 57 messages
Open url in browser 5 messages
Best IPC built into zig 8 messages
std.json.stringify formats the same type in two different ways 7 messages
How to init buffered array safely. 24 messages
Unable to fetch ZLS: ZLS 0.15 has not been released yet 6 messages