We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc77922 commit 8911abbCopy full SHA for 8911abb
src/runtime/runtime.go
@@ -125,6 +125,14 @@ type Cleanup struct{}
125
126
func (c Cleanup) Stop() {}
127
128
+//go:linkname registerWeakPointer weak.runtime_registerWeakPointer
129
+func registerWeakPointer(ptr unsafe.Pointer) unsafe.Pointer {
130
+ // TODO: unimplemented.
131
+ // I hope not implementing this won't break anything, like packages that
132
+ // expect weak pointers to be GC'd before they actually are.
133
+ return ptr
134
+}
135
+
136
var godebugUpdate func(string, string)
137
138
//go:linkname godebug_setUpdate internal/godebug.setUpdate
0 commit comments