Skip to content

v0.4.2

Choose a tag to compare

@kolkov kolkov released this 03 Mar 19:49
· 38 commits to main since this release
c8ef100

purego Compatibility Fix

Fixed

  • Unix: duplicate symbol conflict with purego — added build tag nofakecgo to resolve _cgo_init linker collision when goffi and purego coexist with CGO_ENABLED=0 (#22)

Workaround

When using both goffi and purego in the same binary:

CGO_ENABLED=0 go build -tags nofakecgo ./...

This disables goffi's internal fakecgo, relying on purego's identical copy.

Also included

  • Unit tests for types and internal/arch/amd64 packages
  • Test coverage increased from 75% to 89% (-coverpkg=./...)
  • Dynamic Codecov badge in README

Closes #22