diff options
Diffstat (limited to 'src/runtime/string.go')
| -rw-r--r-- | src/runtime/string.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/string.go b/src/runtime/string.go index eec29075b9..bef097c87e 100644 --- a/src/runtime/string.go +++ b/src/runtime/string.go @@ -325,6 +325,7 @@ func gobytes(p *byte, n int) (b []byte) { } // This is exported via linkname to assembly in syscall (for Plan9). +// //go:linkname gostring func gostring(p *byte) string { l := findnull(p) |
