runtime: make gostringnocopy update maxstring

Fixes #8706

LGTM=josharian
R=josharian
CC=golang-codereviews
https://golang.org/cl/143880043
This commit is contained in:
Keith Randall 2014-09-11 16:53:34 -07:00
parent 6e55f7a87b
commit bcd36e8857
3 changed files with 22 additions and 1 deletions

View file

@ -160,3 +160,6 @@ func GostringW(w []uint16) (s string) {
})
return
}
var Gostringnocopy = gostringnocopy
var Maxstring = &maxstring