-
fix(release): unbreak Windows build + harden Linux apt step
发布于
2026-05-05 08:04:17 +00:00 PR #646 imported
MessageBeepfromwindows::Win32::UI::WindowsAndMessaging,
but inwindowscrate 0.60 the function lives at
windows::Win32::System::Diagnostics::Debug::MessageBeepand now takes a
typedMESSAGEBOX_STYLEreturningResult<()>. The wrong import broke
every Windows build (Test, npm wrapper smoke, and the windows-msvc release
matrix entry). Fix the import path, enable theWin32_System_Diagnostics_Debug
feature, passMESSAGEBOX_STYLE(0)for MB_OK, and discard the Result.The v0.8.12 release also tripped on a transient
apt-get updatemirror
sync error on the ubuntu-24.04-arm runner, cascading via fail-fast. Wrap
every apt-get update in CI/release with a 5-attempt retry so flaky
ports.ubuntu.com mirrors no longer take down the binary matrix.Verified: cargo check --target x86_64-pc-windows-gnu compiles cleanly.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
下载附件