v1.2.1 — Fix unsafe.Pointer vet warnings
What's fixed
go vetclean — the two "possible misuse of unsafe.Pointer" warnings in the clipboard code (clipboard_windows.go) are resolved by usingunsafe.Addinstead of a directuintptr→unsafe.Pointerconversion, which vet cannot statically verify as safe even though the underlying memory (Win32 global heap) is not GC-managed.- Added a clipboard round-trip regression test (write + read back, including Unicode) to guard this code path going forward.
No behavior changes — copy/paste still works exactly as before.
Binaries
| File | Target |
|---|---|
winless_windows_amd64.exe |
Windows x64 (most PCs) |
winless_windows_arm64.exe |
Windows on ARM (Surface Pro X, Copilot+ PCs) |