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