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

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

FileChange
wgpu/loader_unix.go_, err := ffi.CallFunction(...) — handle new errno return
examples/*.goCheck Buffer.Unmap() errors, fix variable shadowing
internal/nativelib/_ = os.Remove() in error paths, nolint gosec
setup/setup.goFix shadow, nolint gosec for dir permissions
CHANGELOG.mdv0.5.3 entry
UPSTREAM.mdUpdated 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 mainJul 12, 2026
6 checks passed
@kolkov
kolkov deleted the deps/update-goffi-v0.6.0 branch July 12, 2026 10:34
@codecov

codecovBot 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 freeto 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

@kolkov