| commit | 96faeb0bb01ad6fcc04dc7ef07ba10d4ec6aecff | [log] [tgz] |
|---|---|---|
| author | Richard Musiol <mail@richard-musiol.de> | Fri Jun 08 18:28:37 2018 +0200 |
| committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Jun 08 21:07:22 2018 +0000 |
| tree | bfc3498e6a204d2012ea389e011a45dd1c305ebf | |
| parent | afae876b3189711c49f9d2cb197081f41c9f3979 [diff] |
misc/wasm: set non-empty default for os.Args os.Args is usually never empty and the flag package panics if it is. This commit makes os.Args default to ["js"] for js/wasm. Change-Id: Iba527145686487b052da438fca40159e57e61a81 Reviewed-on: https://go-review.googlesource.com/117475 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.