aboutsummaryrefslogtreecommitdiffhomepage
path: root/loader/loader.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2020-09-17 22:45:51 +0200
committerRon Evans <[email protected]>2020-09-21 08:49:13 +0200
commitec54e7763d11b06dca9c83c89c36906a8df7874b (patch)
tree123717ed3b4395a2fec2f4674f3531168d0fe901 /loader/loader.go
parent41afb77080d94b8ef1f854ac851b7b9057ccd66a (diff)
downloadtinygo-ec54e7763d11b06dca9c83c89c36906a8df7874b.tar.gz
tinygo-ec54e7763d11b06dca9c83c89c36906a8df7874b.zip
runtime: fix UTF-8 decoding
The algorithm now checks for invalid UTF-8 sequences, which is required by the Go spec. This gets the tests of the unicode/utf8 package to pass. Also add bytes.Equal for Go 1.11, which again is necessary for the unicode/utf8 package.
Diffstat (limited to 'loader/loader.go')
0 files changed, 0 insertions, 0 deletions