Skip to content

fix: restore build with newer go linker - #106

Merged
tenfyzhong merged 1 commit into
pingcap-inc:mainfrom
tenfyzhong:fix/make-build-go-linkname
May 22, 2026
Merged

fix: restore build with newer go linker#106
tenfyzhong merged 1 commit into
pingcap-inc:mainfrom
tenfyzhong:fix/make-build-go-linkname

Conversation

@tenfyzhong

Copy link
Copy Markdown
Collaborator

Summary

  • Restore local builds with newer Go linkers by passing -checklinkname=0 when the linker supports it.
  • Add a make test target that reuses the same linker flags for test binaries.
  • Remove brittle Prometheus descriptor string assertions from gauge tests while keeping behavior checks.

Testing

  • make test
  • make

Signed-off-by: tenfyzhong <tenfy@tenfy.cn>
@tenfyzhong
tenfyzhong merged commit 71ba798 into pingcap-inc:main May 22, 2026
4 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.

2 participants