Files
navop/script
胡飞 b1f41f81c7 perf(release): 关掉展开/开 fat LTO,裁剪 wasmtime 未用 feature
macOS arm64 二进制 177,369,216B → 112,557,680B(-36.5%)。

1. [profile.release] lto=thin→fat、codegen-units=16→1、panic=abort。
   __eh_frame 16.0→0.07MiB、__gcc_except_tab 8.6→0.02MiB、
   __unwind_info 2.8→0.29MiB,展开元数据共省约 27MB。
   代价:release 下 catch_unwind 不再拦 panic(terminal 录制 observer、
   windows_rdp_host event 回调);dev/test profile 不变,测试照样跑。
2. extension-wasm 只用 async/cache/component-model/cranelift/gc/runtime/std/
   threads,wasmtime 与 wasmtime-wasi 都关 default-features;
   wat 解析器移入 dev-dependencies(只有 fixtures/*.wat 测试用)。
   掉包:wiggle、wiggle-generate、wiggle-macro、witx、wast、leb128。
3. bundle-macos-dmg.sh:按 staging 目录实际大小显式 -size(首次 +512MB,
   重试逐次放大),制完删 staging 拷贝。hdiutil 自动估算偏小时会报
   "No space left on device",与磁盘剩余空间无关(已本地复现)。
2026-09-17 11:24:04 +08:00
..
2026-02-15 11:51:18 +08:00