Skip to content

deps: update goffi v0.6.0, gputypes v0.5.1, x/sys v0.47.0#22

Merged
kolkov merged 1 commit into
mainfrom
deps/update-goffi-v0.6.0
Jul 12, 2026
Merged

deps: update goffi v0.6.0, gputypes v0.5.1, x/sys v0.47.0#22
kolkov merged 1 commit into
mainfrom
deps/update-goffi-v0.6.0

Conversation

@kolkov

@kolkov kolkov commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • goffi v0.5.2 → v0.6.0 — assembly-level errno capture, callback stack safety fix, zero-allocation FFI
  • gputypes v0.5.0 → v0.5.1
  • x/sys v0.42.0 → v0.47.0
  • Adapt to goffi v0.6.0 breaking change: CallFunction returns (syscall.Errno, error)
  • Fix all golangci-lint issues (22 → 0): errcheck, govet shadow, gosec, staticcheck

Changes

File Change
wgpu/loader_unix.go _, err := ffi.CallFunction(...) — handle new errno return
examples/*.go Check Buffer.Unmap() errors, fix variable shadowing
internal/nativelib/ _ = os.Remove() in error paths, nolint gosec
setup/setup.go Fix shadow, nolint gosec for dir permissions
CHANGELOG.md v0.5.3 entry
UPSTREAM.md Updated pinned versions and compatibility matrix

Test plan

  • go build ./... — clean
  • go vet ./... — clean
  • golangci-lint run ./... — 0 issues
  • go test -run "TestABI|..." ./... — all pass
  • CI: Ubuntu, macOS, Windows

…0.42.0 → v0.47.0

- goffi v0.6.0: assembly-level errno capture, callback stack safety fix, zero-alloc FFI
- Adapt to breaking change: CallFunction returns (syscall.Errno, error)
- Fix all golangci-lint issues: errcheck on Buffer.Unmap(), os.Remove, variable shadowing
- Update CHANGELOG.md, UPSTREAM.md
@kolkov kolkov merged commit 351770c into main Jul 12, 2026
6 checks passed
@kolkov kolkov deleted the deps/update-goffi-v0.6.0 branch July 12, 2026 10:34
@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant