os: File.Seek does not work past EOF on NaCl #21728
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
OS-NaCl
GOOS=nacl, Native Client, removed in Go 1.14
Milestone
Consider the following snippet:
On NaCl, this current fails with:
If you uncomment the
Truncate
, then it works again. This is contrary to every other OS that Go supports, where you can seek past EOF and start writing and everything in-between is implicitly filled with zeros.The text was updated successfully, but these errors were encountered: