Skip to content

Xgo v1.2.9

Latest

Choose a tag to compare

@xhd2015 xhd2015 released this 31 Aug 03:18

This release upgrades xgo from v1.2.7 to v1.2.9

Major feature:

  • Fix instrumentation go list to honor caller -overlay (doctest vendor-gomod / nested replace go.mod), so mock.Patch no longer fails with ERR_NOT_INSTRUMENTED when go.mod exists only via overlay.
  • Regression tests: runtime/test/build/external_overlay_gomod_list, support/goinfo overlay list coverage (go1.19 / !go1.19).

To install xgo v1.2.9:

go install github.com/xhd2015/xgo/cmd/xgo@v1.2.9

Runtime need not be upgraded for this release (existing github.com/xhd2015/xgo/runtime at core v1.2.2 remains compatible).

For documentation, see https://github.com/xhd2015/xgo.

What's Changed

  • fix: pass caller -overlay to go list during instrumentation
  • test: overlay-only nested go.mod discovery coverage

Full Changelog: v1.2.7...v1.2.9