aboutsummaryrefslogtreecommitdiff
path: root/doc/go1.15.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/go1.15.html')
-rw-r--r--doc/go1.15.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/go1.15.html b/doc/go1.15.html
index 8872d71138..c691bf3bd5 100644
--- a/doc/go1.15.html
+++ b/doc/go1.15.html
@@ -357,7 +357,10 @@ Do not send CLs removing the interior tags from such phrases.
The linker now defaults to internal linking mode
for <code>-buildmode=pie</code> on
<code>linux/amd64</code> and <code>linux/arm64</code>, so these
- configurations no longer require a C linker.
+ configurations no longer require a C linker. External linking
+ mode (which was the default in Go 1.14 for
+ <code>-buildmode=pie</code>) can still be requested with
+ <code>-ldflags=-linkmode=external</code> flag.
</p>
<h2 id="objdump">Objdump</h2>
@@ -433,6 +436,19 @@ Do not send CLs removing the interior tags from such phrases.
</dd>
</dl><!-- bufio -->
+<dl id="context"><dt><a href="/pkg/context/">context</a></dt>
+ <dd>
+ <p><!-- CL 223777 -->
+ Creating a derived <code>Context</code> using a nil parent is now explicitly
+ disallowed. Any attempt to do so with the
+ <a href="/pkg/context/#WithValue"><code>WithValue</code></a>,
+ <a href="/pkg/context/#WithDeadline"><code>WithDeadline</code></a>, or
+ <a href="/pkg/context/#WithCancel"><code>WithCancel</code></a> functions
+ will cause a panic.
+ </p>
+ </dd>
+</dl><!-- context -->
+
<dl id="crypto"><dt><a href="/pkg/crypto/">crypto</a></dt>
<dd>
<p><!-- CL 231417, CL 225460 -->