diff options
author | Shenghou Ma <minux@golang.org> | 2014-06-10 20:20:49 -0400 |
---|---|---|
committer | Shenghou Ma <minux@golang.org> | 2014-06-10 20:20:49 -0400 |
commit | a9c27b77425f9c333591da1b7b1e02de415c5149 (patch) | |
tree | 4a227f07392987360ff2008720eed37f2b9fe55a /misc/nacl | |
parent | eaf1810b159e342fec5a775effbce4ccb7c99c8b (diff) | |
download | go-a9c27b77425f9c333591da1b7b1e02de415c5149.tar.gz |
nacltest.bash, misc/nacl/README: update NaCl docs.
LGTM=rsc
R=dave, rsc
CC=golang-codereviews
https://codereview.appspot.com/105030043
Diffstat (limited to 'misc/nacl')
-rw-r--r-- | misc/nacl/README | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/nacl/README b/misc/nacl/README index 4979fc1d9..9cc2bda60 100644 --- a/misc/nacl/README +++ b/misc/nacl/README @@ -54,12 +54,10 @@ The script's name has a special format, go_$GOOS_$GOARCH_exec, so cmd/go can fin In short, if the support scripts are in place, the cmd/go tool can be used as per normal. -# Build the Go toolchain. +# Build and test Go for NaCl - % cd go/src - % env GOOS=nacl GOARCH=amd64p32 ./make.bash - -# Test the Go toolchain. +NaCl does not permit direct file system access. Instead, package syscall provides a simulated file system served by in-memory data. The script nacltest.bash is the NaCl equivalent of all.bash. It builds NaCl with an in-memory file system containing files needed for tests, and then it runs the tests. % cd go/src - % env GOOS=nacl GOARCH=amd64p32 ./run.bash + % env GOARCH=amd64p32 ./nacltest.bash + |