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 | 55b9f3b8f505f10f85992b18bc6bec181b2a2c6f (patch) | |
tree | 9add6f09e51e08769ceb7ef0581d99fe40bc2c29 /doc | |
parent | 578a3be106fc48e66f780e736fdf5a486236c2ab (diff) | |
download | go-55b9f3b8f505f10f85992b18bc6bec181b2a2c6f.tar.gz |
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://codereview.appspot.com/162060043
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1compat.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/go1compat.html b/doc/go1compat.html index 04a6c1124..94c48d2ce 100644 --- a/doc/go1compat.html +++ b/doc/go1compat.html @@ -104,6 +104,14 @@ outside of tests, and using it may cause a program to fail to compile in future releases. </li> +<li> +Use of package <code>unsafe</code>. Packages that import +<a href="/pkg/unsafe/"><code>unsafe</code></a> +may depend on internal properties of the Go implementation. +We reserve the right to make changes to the implementation +that may break such programs. +</li> + </ul> <p> |