Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use go:linkname for database/sql.convertAssign #33

Merged
merged 1 commit into from
Aug 19, 2023

Conversation

moznion
Copy link
Owner

@moznion moznion commented Aug 19, 2023

This reverts commit 93552ae.


This changes it to use go:linkname instead of copying the code from database/sql because the source code uses the unexposed values and functions so it's difficult to clone that perfectly.
I'm sorry for bothering you @RangelReale.

@moznion moznion self-assigned this Aug 19, 2023
@moznion moznion changed the title Revert "copy convert.go instead of using go:linkname" Use go:linkname for database/sql.convertAssign Aug 19, 2023
@moznion moznion merged commit e5b2408 into main Aug 19, 2023
@moznion moznion deleted the use_linkname_for_convertAssign branch August 19, 2023 05:31
@RangelReale
Copy link
Contributor

No problem, yeah the code have lots of internal things that feels strange to copy.

@moznion moznion mentioned this pull request Jun 5, 2024
@Ikke
Copy link

Ikke commented Jun 5, 2024

Beware of upcoming restrictions to go:linkname

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants