diff options
Diffstat (limited to 'src/database/sql')
| -rw-r--r-- | src/database/sql/badlinkname.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/database/sql/badlinkname.go b/src/database/sql/badlinkname.go new file mode 100644 index 0000000000..a77def9fbd --- /dev/null +++ b/src/database/sql/badlinkname.go @@ -0,0 +1,16 @@ +// Copyright 2024 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package sql + +import _ "unsafe" + +// As of Go 1.22, the symbols below are found to be pulled via +// linkname in the wild. We provide a push linkname here, to +// keep them accessible with pull linknames. +// This may change in the future. Please do not depend on them +// in new code. + +//go:linkname convertAssign +//go:linkname drivers |
