diff options
author | Russ Cox <rsc@golang.org> | 2010-12-15 11:49:23 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-12-15 11:49:23 -0500 |
commit | 0c54225b515f80ac3ff27337bde1653908a78f0d (patch) | |
tree | 400a6188889dd50c0a566ad3781b1f35194a84dd /test/recover2.go | |
parent | 85f5bb8216fb8971fa3bfe719a45549df2761d12 (diff) | |
download | go-0c54225b515f80ac3ff27337bde1653908a78f0d.tar.gz go-0c54225b515f80ac3ff27337bde1653908a78f0d.zip |
remove nacl
The recent linker changes broke NaCl support
a month ago, and there are no known users of it.
The NaCl code can always be recovered from the
repository history.
R=adg, r
CC=golang-dev
https://golang.org/cl/3671042
Diffstat (limited to 'test/recover2.go')
-rw-r--r-- | test/recover2.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/recover2.go b/test/recover2.go index 48b0503309..f33af4457b 100644 --- a/test/recover2.go +++ b/test/recover2.go @@ -7,7 +7,6 @@ // Test of recover for run-time errors. // TODO(rsc): -// integer divide by zero? // null pointer accesses package main @@ -15,7 +14,6 @@ package main import ( "os" "strings" - "syscall" ) var x = make([]byte, 10) @@ -83,10 +81,6 @@ func test6() { } func test7() { - if syscall.OS == "nacl" { - // NaCl cannot handle traps - return - } defer mustRecover("divide by zero") var x, y int println(x / y) |