Skip to content

feat: auto-setup tool + docs update (v0.5.1)#20

Merged
kolkov merged 1 commit into
mainfrom
feat/setup-tool-and-docs
May 27, 2026
Merged

feat: auto-setup tool + docs update (v0.5.1)#20
kolkov merged 1 commit into
mainfrom
feat/setup-tool-and-docs

Conversation

@kolkov
Copy link
Copy Markdown
Contributor

@kolkov kolkov commented May 27, 2026

Summary

  • Auto-setup toolgo run github.com/go-webgpu/webgpu/cmd/setup@latest downloads correct wgpu-native v29 binary for current platform (Windows/macOS/Linux, amd64/arm64)
  • setup package — public API: Install(dir), FindLibrary(), Version. Implementation in internal/nativelib/
  • README — auto-setup section, gogpu/wgpu integration section, WGPU_NATIVE_PATH docs
  • deps — goffi v0.5.0→v0.5.2, gputypes v0.3.0→v0.5.0

Test plan

  • go build ./... passes
  • go build ./cmd/setup/ passes
  • go test ./internal/nativelib/ ./setup/ — 11/11 pass
  • Live test: go run ./cmd/setup/ ./tmp/test downloads v29 DLL successfully

Added cmd/setup — downloads correct wgpu-native v29 binary for current platform.
Public API in setup/ package: Install(), FindLibrary(), Version.
Implementation in internal/nativelib/ with tests (11 pass).

Updated README: auto-setup section, gogpu/wgpu integration section.
Updated CHANGELOG: v0.5.0 date fixed, v0.5.1 entry.
deps: goffi v0.5.0 → v0.5.2
@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kolkov kolkov merged commit dfbca02 into main May 27, 2026
7 checks passed
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