You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions that shrink the size of a slice (<code>Delete</code>, <code>DeleteFunc</code>, <code>Compact</code>, <code>CompactFunc</code>, and <code>Replace</code>) now zero the elements between the new length and the old length.
535
557
</p>
536
558
537
-
<p><!-- CL 540155 -->
538
-
TODO: <ahref="https://go.dev/cl/540155">https://go.dev/cl/540155</a>: slices: make Insert panic if index is out of range and there are no values
<code>Insert</code> now always panics if the argument <code>i</code>is out of range. Previously it did not panic in this situation if there were no elements to be inserted.
539
561
</p>
540
562
</dd>
541
563
</dl><!-- slices -->
@@ -570,8 +592,15 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
570
592
571
593
<h2id="ports">Ports</h2>
572
594
595
+
<h3id="arm">Arm</h3>
573
596
<p><!-- CL 514907 -->
574
-
TODO: <ahref="https://go.dev/cl/514907">https://go.dev/cl/514907</a>: all: add floating point option for ARM targets
597
+
The <code>GOARM</code> environment variable now allows you to select whether to use software or hardware floating point.
598
+
Previously, valid <code>GOARM</code> values were <code>5</code>, <code>6</code>, or <code>7</code>. Now those same values can
599
+
be optionally followed by <code>,softfloat</code> or <code>,hardfloat</code> to select the floating-point implementation.
600
+
</p>
601
+
<p>
602
+
This new option defaults to <code>softfloat</code> for version <code>5</code> and <code>hardfloat</code> for versions
0 commit comments