# \#zig-0-15-1

**URL:** https://ziggit.dev/tag/zig-0-15-1/93.md

[Latest](https://ziggit.dev/latest.md) · [Categories](https://ziggit.dev/categories.md) · [Tags](https://ziggit.dev/tags.md)

---

## [Mach-O linker: \_\_thread\_bss TLS offset misaligned when \_\_thread\_data is present (x86\_64-macos)](https://ziggit.dev/t/mach-o-linker-thread-bss-tls-offset-misaligned-when-thread-data-is-present-x86-64-macos/14576)

<div class="topic-metadata">

**Author:** [@jonathan.hao](https://ziggit.dev/u/jonathan.hao)\
**Replies:** 3\
**Last updated:** [March 11, 2026, 12:05pm UTC](https://ziggit.dev/t/mach-o-linker-thread-bss-tls-offset-misaligned-when-thread-data-is-present-x86-64-macos/14576 "2026-03-11T12:05:07Z")

</div>

Mach-O linker: \_\_thread\_bss TLS offset misaligned when \_\_thread\_data is present (x86\_64-macos) Summary Zig 0.15.1’s Mach-O linker produces misaligned TLS template offsets when both \_\_thread\_data and \_\_thread\_bss sections…

---

## ["Duplicate symbol definition" error when using incremental compilation with zig sqlite library](https://ziggit.dev/t/duplicate-symbol-definition-error-when-using-incremental-compilation-with-zig-sqlite-library/12717)

<div class="topic-metadata">

**Author:** [@glitchcake](https://ziggit.dev/u/glitchcake)\
**Replies:** 3\
**Last updated:** [October 28, 2025, 1:15pm UTC](https://ziggit.dev/t/duplicate-symbol-definition-error-when-using-incremental-compilation-with-zig-sqlite-library/12717 "2025-10-28T13:15:12Z")

</div>

I am running zig build test -fincremental --watch in a minimal repo having had been created with zig init and having had this zig-sqlite package added. When I make changes to a file, I get compile errors like this until…

---

## [Benchmarking Zig Web Frameworks](https://ziggit.dev/t/benchmarking-zig-web-frameworks/12683)

<div class="topic-metadata">

**Author:** [@nurulhudaapon](https://ziggit.dev/u/nurulhudaapon)\
**Replies:** 8\
**Last updated:** [October 26, 2025, 11:29am UTC](https://ziggit.dev/t/benchmarking-zig-web-frameworks/12683 "2025-10-26T11:29:51Z")

</div>

This is a benchmark of some of the popular web frameworks in the Zig world. If I’ve missed any, let me know and I’ll add them. zzz isn’t included for now since it hasn’t been updated to Zig 0.15.1 yet. std │█████…

---

## [A Waybar module for monitoring storage](https://ziggit.dev/t/a-waybar-module-for-monitoring-storage/12052)

<div class="topic-metadata">

**Author:** [@rogueAutomaton](https://ziggit.dev/u/rogueAutomaton)\
**Replies:** 3\
**Last updated:** [October 4, 2025, 9:58pm UTC](https://ziggit.dev/t/a-waybar-module-for-monitoring-storage/12052 "2025-10-04T21:58:34Z")

</div>

I made this for my own use, so I can have a little more info on-hand than other similar modules I’ve found. github Feel free to share any feedback/criticism on my code. There’s one huge function in particular I need t…

---

## [\`stringify()\` is gone](https://ziggit.dev/t/stringify-is-gone/12262)

<div class="topic-metadata">

**Author:** [@charlie](https://ziggit.dev/u/charlie)\
**Replies:** 3\
**Last updated:** [September 29, 2025, 7:09pm UTC](https://ziggit.dev/t/stringify-is-gone/12262 "2025-09-29T19:09:42Z")

</div>

Release notes do not cover json at all, and Stringify is missing new()/init()/etc. Wrestling with this for couple days now without success: src/util.zig:26:21: error: root source file struct 'json' has no member named '…

---

## [Error "expected type \`T\`, found \`T\`" with types imported from C headers](https://ziggit.dev/t/error-expected-type-t-found-t-with-types-imported-from-c-headers/12200)

<div class="topic-metadata">

**Author:** [@ubavic](https://ziggit.dev/u/ubavic)\
**Replies:** 3\
**Last updated:** [September 25, 2025, 5:20pm UTC](https://ziggit.dev/t/error-expected-type-t-found-t-with-types-imported-from-c-headers/12200 "2025-09-25T17:20:35Z")

</div>

Hello, I am migrating a shared library (pkcs11 module) to zig 0.15. I’ve hit an error that I can’t resolve. For some types imported from .h files, I get errors like the following src/p11\_object\_management.zig:171:87: e…

---

## [Memory Initialization and Writer Interface](https://ziggit.dev/t/memory-initialization-and-writer-interface/12060)

<div class="topic-metadata">

**Author:** [@shodo](https://ziggit.dev/u/shodo)\
**Replies:** 19\
**Last updated:** [September 23, 2025, 4:57pm UTC](https://ziggit.dev/t/memory-initialization-and-writer-interface/12060 "2025-09-23T16:57:41Z")

</div>

Hello everyone! I’ve just started to explore the language, and writing simple programs I’ve stumbled upon the writer interface copy issue. Now, I have this program in which even if I’m obtaining a pointer to the interfa…

---

## [Runtime Error... Can anyone help?](https://ziggit.dev/t/runtime-error-can-anyone-help/12129)

<div class="topic-metadata">

**Author:** [@elhadley](https://ziggit.dev/u/elhadley)\
**Replies:** 7\
**Last updated:** [September 21, 2025, 11:17pm UTC](https://ziggit.dev/t/runtime-error-can-anyone-help/12129 "2025-09-21T23:17:15Z")

</div>

I working on a project this is my code. It compiles fine, but when I execute the program I get a runtime error. I was wondering if anyone could help me solve this or elaborate on the next steps for fixing the problem. …

---

## [Zigomponents: Write html components with zig](https://ziggit.dev/t/zigomponents-write-html-components-with-zig/11931)

<div class="topic-metadata">

**Author:** [@eltNEG](https://ziggit.dev/u/eltNEG)\
**Replies:** 0\
**Last updated:** [September 8, 2025, 6:52am UTC](https://ziggit.dev/t/zigomponents-write-html-components-with-zig/11931 "2025-09-08T06:52:27Z")

</div>

I am working on zigomponents, which is inspired by gomponents. Zigomponents allows you to create HTML pages using zig. The landing page is created with zigomponents, and you can check the code on GitHub.

---

## [0.15.1 Fuzzing](https://ziggit.dev/t/0-15-1-fuzzing/11696)

<div class="topic-metadata">

**Author:** [@markus](https://ziggit.dev/u/markus)\
**Replies:** 8\
**Last updated:** [September 8, 2025, 3:47am UTC](https://ziggit.dev/t/0-15-1-fuzzing/11696 "2025-09-08T03:47:11Z")

</div>

Hello, I made a little Tetris game and found a bug that I think is near impossible to reproduce consistently with human input and thought I might try to use fuzzing and then just throw around assertions until I find it. …

---

## [0.15.1 Reader/Writer](https://ziggit.dev/t/0-15-1-reader-writer/11614)

<div class="topic-metadata">

**Author:** [@mg979](https://ziggit.dev/u/mg979)\
**Replies:** 53\
**Last updated:** [September 7, 2025, 8:27am UTC](https://ziggit.dev/t/0-15-1-reader-writer/11614 "2025-09-07T08:27:08Z")

</div>

I’m having difficulties in understanding how the new API should be used. I didn’t understand much the old one either tbh. Is there somewhere a guide on this subject (valid for 0.15.1)? Or at least some example? For exam…

---

## [Zig 0.15.1 Released](https://ziggit.dev/t/zig-0-15-1-released/11583)

<div class="topic-metadata">

**Author:** [@andrewrk](https://ziggit.dev/u/andrewrk)\
**Replies:** 35\
**Last updated:** [September 4, 2025, 5:09am UTC](https://ziggit.dev/t/zig-0-15-1-released/11583 "2025-09-04T05:09:25Z")

</div>

(0.15.0 was retracted)

---

## [Inside Zig's New Writer](https://ziggit.dev/t/inside-zigs-new-writer/11698)

<div class="topic-metadata">

**Author:** [@n0s4](https://ziggit.dev/u/n0s4)\
**Replies:** 10\
**Last updated:** [August 31, 2025, 9:56am UTC](https://ziggit.dev/t/inside-zigs-new-writer/11698 "2025-08-31T09:56:34Z")

</div>

0.15 releasing thoroughly sidetracked me into writing a very long blog post about the new std.Io.Writer. Particularly proud of this diagram:

---

## [Migrating from std.io.bufferedReader](https://ziggit.dev/t/migrating-from-std-io-bufferedreader/11707)

<div class="topic-metadata">

**Author:** [@kkflt](https://ziggit.dev/u/kkflt)\
**Replies:** 1\
**Last updated:** [August 28, 2025, 8:31am UTC](https://ziggit.dev/t/migrating-from-std-io-bufferedreader/11707 "2025-08-28T08:31:28Z")

</div>

In zig 0.14 I did: var br = std.io.bufferedReader(socket.reader()); var reader = br.reader(); ... var reply = try reader.readUntilDelimiterOrEof(&msg\_buf, '\\n') orelse return; I wanted to update to 0.15, but I can’t …

---

## [0.15.1 SoC code no longer produces serial output](https://ziggit.dev/t/0-15-1-soc-code-no-longer-produces-serial-output/11635)

<div class="topic-metadata">

**Author:** [@whitehexagon](https://ziggit.dev/u/whitehexagon)\
**Replies:** 6\
**Last updated:** [August 25, 2025, 4:38pm UTC](https://ziggit.dev/t/0-15-1-soc-code-no-longer-produces-serial-output/11635 "2025-08-25T16:38:34Z")

</div>

So I just tried a build with 0.15.1 (aarch64,ReleaseSmall,freestanding,cortex\_a53) and my PinePhone SoC serial output is producing some of my characters but mostly garbage, and the phone no longer boots :frowning: It st…

---

## [Weird error with std.debug.print + "-freference" not working](https://ziggit.dev/t/weird-error-with-std-debug-print-freference-not-working/11653)

<div class="topic-metadata">

**Author:** [@bunxen](https://ziggit.dev/u/bunxen)\
**Replies:** 8\
**Last updated:** [August 24, 2025, 4:05am UTC](https://ziggit.dev/t/weird-error-with-std-debug-print-freference-not-working/11653 "2025-08-24T04:05:11Z")

</div>

Hi, I’m not really sure where to talk about this. I figured it out but while doing ziglings I had this error: Compiling: 058\_quiz7.zig error: the following command failed with 1 compilation errors: zig-x86\_64-linux-0.1…

---

## [0.15.1 Changes](https://ziggit.dev/t/0-15-1-changes/11626)

<div class="topic-metadata">

**Author:** [@gkell](https://ziggit.dev/u/gkell)\
**Replies:** 15\
**Last updated:** [August 23, 2025, 8:06am UTC](https://ziggit.dev/t/0-15-1-changes/11626 "2025-08-23T08:06:12Z")

</div>

This thread is already diluted, so let me add: pub fn dumpToFile(self : \*Self, file : std.fs.File) !void { var b : \[16384\] u8 = undefined; var w = file.writer(&b).interface; try w.print("Star…

---

## [How to exactly replicate \`\`.adaptToOldInterface().readAllAlloc(...);\`\` using new API](https://ziggit.dev/t/how-to-exactly-replicate-adapttooldinterface-readallalloc-using-new-api/11630)

<div class="topic-metadata">

**Author:** [@markus](https://ziggit.dev/u/markus)\
**Replies:** 7\
**Last updated:** [August 22, 2025, 8:36pm UTC](https://ziggit.dev/t/how-to-exactly-replicate-adapttooldinterface-readallalloc-using-new-api/11630 "2025-08-22T20:36:09Z")

</div>

Hello, I have a function that calls reader.adaptToOldInterface().readAllAlloc(allocator, std.math.maxInt(usize)); on a readerStreaming that was obtained from a stdin which is in raw mode. How to I replicate readAllAllo…

---

## [Zig 15 RingBuffer removal](https://ziggit.dev/t/zig-15-ringbuffer-removal/11618)

<div class="topic-metadata">

**Author:** [@gkell](https://ziggit.dev/u/gkell)\
**Replies:** 14\
**Last updated:** [August 22, 2025, 11:21am UTC](https://ziggit.dev/t/zig-15-ringbuffer-removal/11618 "2025-08-22T11:21:59Z")

</div>

Just switched to 15.1 from 14.1, and after reading through the notes I find that std.RingBuffer is removed, with the comment being that the new improved std.Io. buffers are ring capable. Looked at a few of the implement…

---

## [The 15.1 noob](https://ziggit.dev/t/the-15-1-noob/11609)

<div class="topic-metadata">

**Author:** [@ericlang](https://ziggit.dev/u/ericlang)\
**Replies:** 12\
**Last updated:** [August 21, 2025, 11:54pm UTC](https://ziggit.dev/t/the-15-1-noob/11609 "2025-08-21T23:54:08Z")

</div>

A few questions regarding 0.15.1 Working with vscode I cannot jump to source (F12) or get code-completion. Is that because this ZLS is outdated? (BTW: I always get completely lost in the plethora of options and settings…
