Skip to content

Commit dcd88aa

Browse files
committed
fix(content): Correct macOS version and project link in zvm post
Update the zvm blog post for factual accuracy and cleaner formatting. Changes: - Remove incorrect "Sequoia" codename from macOS 26 reference, since Sequoia is actually macOS 15 - Convert the project repository link from a blockquote to an inline Markdown link for better readability
1 parent e0f6d08 commit dcd88aa

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎content/post/2026-04-15-zvm.smd‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Zig 官方发布的 tar 包解压后是 `zig-macos-x86_64-0.16.0/` 这种长名
9898

9999
### 安装后验证:macOS 26+ 的坑
100100

101-
苹果在 macOS 26(Sequoia)更新了 ld64,导致某些 Zig 版本链接时报 "undefined symbol" 错误。这不是 zvm 的 bug,但用户会以为是安装器坏了。
101+
苹果在 macOS 26 更新了 ld64,导致某些 Zig 版本链接时报 "undefined symbol" 错误。这不是 zvm 的 bug,但用户会以为是安装器坏了。
102102

103103
解决:装完后跑一遍 smoke test。创建一个临时 `.zig` 文件,执行 `zig build-exe -fno-emit-bin`,检查 stderr 有没有 "undefined symbol"。有的话就警告用户,建议换 nightly 版本或 Mach 引擎的 build。
104104

@@ -230,7 +230,6 @@ Windows 传统路径限制 260 字符,junction/symlink 在超长路径下行
230230

231231
zvm 这种规模(3k+ 行代码)的工具,Zig 的表现超出预期。编译后的二进制是真正的"单文件可执行",scp 到任意同架构机器就能跑,没有"在目标机器装依赖"的烦恼。
232232

233-
项目开源在
234-
> https://github.com/lispking/zvm
233+
项目开源在 [lispking/zvm](https://github.com/lispking/zvm)
235234

236235
欢迎试玩或提 issue。如果你也在用 Zig 写工具,上面这些坑应该能帮你省点时间。

0 commit comments

Comments
 (0)