summaryrefslogtreecommitdiff
path: root/src/unsafe
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2014-10-24 09:37:25 -0700
committerRob Pike <r@golang.org>2014-10-24 09:37:25 -0700
commit55b9f3b8f505f10f85992b18bc6bec181b2a2c6f (patch)
tree9add6f09e51e08769ceb7ef0581d99fe40bc2c29 /src/unsafe
parent578a3be106fc48e66f780e736fdf5a486236c2ab (diff)
downloadgo-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 'src/unsafe')
-rw-r--r--src/unsafe/unsafe.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unsafe/unsafe.go b/src/unsafe/unsafe.go
index 83b2e1405..79499b295 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