]> Cypherpunks repositories - gostls13.git/commit
misc/wasm: add stub for fs.openSync for browsers
authorRichard Musiol <mail@richard-musiol.de>
Thu, 14 Jun 2018 22:08:26 +0000 (00:08 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 15 Jun 2018 00:04:15 +0000 (00:04 +0000)
commitadf72bbc9a11fa14de80b1e68fd58f0e4a0248a8
treeee09f412b6ed8afe05e175d86c7dee9034d90aa1
parent30b045d4d1a00801b1d1fc32a910334dcd722ba6
misc/wasm: add stub for fs.openSync for browsers

This stub is necessary so the time package can fail to load
the timezone files in a nice way. It transitively makes the
log package work in browsers.

Change-Id: I4d360df82989d9b40cd31bb4508a6d057534443e
Reviewed-on: https://go-review.googlesource.com/118977
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
misc/wasm/wasm_exec.js