diff options
author | Rob Pike <r@golang.org> | 2014-10-24 09:37:25 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2014-10-24 09:37:25 -0700 |
commit | 1415a53b75fe3dc4fa53208e82839533bb2f1a30 (patch) | |
tree | ce04bd4b084f88b499deb2c34419dc4796393b36 /src/unsafe | |
parent | c5943c668b919b98fd107c2327678ee32a868246 (diff) | |
download | go-1415a53b75fe3dc4fa53208e82839533bb2f1a30.tar.gz go-1415a53b75fe3dc4fa53208e82839533bb2f1a30.zip |
unsafe: document that unsafe programs are not protected
The compatibility guideline needs to be clear about this even
though it means adding a clause that was not there from the
beginning. It has always been understood, so this isn't really
a change in policy, just in its expression.
LGTM=bradfitz, gri, rsc
R=golang-codereviews, bradfitz, gri, rsc
CC=golang-codereviews
https://golang.org/cl/162060043
Diffstat (limited to 'src/unsafe')
-rw-r--r-- | src/unsafe/unsafe.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unsafe/unsafe.go b/src/unsafe/unsafe.go index 83b2e14052..79499b2955 100644 --- a/src/unsafe/unsafe.go +++ b/src/unsafe/unsafe.go @@ -4,6 +4,9 @@ /* Package unsafe contains operations that step around the type safety of Go programs. + + Packages that import unsafe may be non-portable and are not protected by the + Go 1 compatibility guidelines. */ package unsafe |