Repository navigation
This release upgrades xgo from v1.2.7 to v1.2.9
Major feature:
- Fix instrumentation
go listto honor caller-overlay(doctest vendor-gomod / nested replace go.mod), somock.Patchno longer fails withERR_NOT_INSTRUMENTEDwhen go.mod exists only via overlay. - Regression tests:
runtime/test/build/external_overlay_gomod_list,support/goinfooverlay list coverage (go1.19 / !go1.19).
To install xgo v1.2.9:
go install github.com/xhd2015/xgo/cmd/xgo@v1.2.9Runtime 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