From 1415a53b75fe3dc4fa53208e82839533bb2f1a30 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 24 Oct 2014 09:37:25 -0700 Subject: 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 --- doc/go1compat.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/go1compat.html') diff --git a/doc/go1compat.html b/doc/go1compat.html index 04a6c1124b..94c48d2ce3 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. +
  • +Use of package unsafe. Packages that import +unsafe +may depend on internal properties of the Go implementation. +We reserve the right to make changes to the implementation +that may break such programs. +
  • +

    -- cgit v1.3