diff options
author | Paul Jolly <paul@myitcv.io> | 2018-06-21 18:30:04 +0100 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-06-21 22:55:55 +0000 |
commit | 4b3428998d46c34efd6cbf219fbd0219d861307d (patch) | |
tree | c31f43de55fa1dee64f00836f2327b3a22598cf6 | |
parent | 24fb2e015af156c032a6598b0773785d766a8aad (diff) | |
download | go-4b3428998d46c34efd6cbf219fbd0219d861307d.tar.gz go-4b3428998d46c34efd6cbf219fbd0219d861307d.zip |
misc/wasm: fix permissions on wasm_exec.js
Currently wasm_exec.js is executable (0755) yet has no interpreter.
Indeed wasm_exec.js is only ever used as an argument to Node or loaded
via a <script> tag in a browser-loaded HTML file. Hence the execute
mode bits are superfluous and simply serve to clutter your PATH if
$GOROOT/misc/wasm is on your PATH (as is required if you want to run go
test syscall/js).
Change-Id: I279e2457094f8a12b9bf380ad7f1a9f47b22fc96
Reviewed-on: https://go-review.googlesource.com/120435
Run-TryBot: Paul Jolly <paul@myitcv.org.uk>
Reviewed-by: Daniel Martà <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r--[-rwxr-xr-x] | misc/wasm/wasm_exec.js | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/misc/wasm/wasm_exec.js b/misc/wasm/wasm_exec.js index 1aa727ae4d..1aa727ae4d 100755..100644 --- a/misc/wasm/wasm_exec.js +++ b/misc/wasm/wasm_exec.js |