<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/alloctests/tests, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-13T07:26:02+00:00</updated>
<entry>
<title>Rollup merge of #145471 - rs-sac:extr, r=the8472</title>
<updated>2025-09-13T07:26:02+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-09-13T07:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5b37a1e4aea3fc2b70d1062d65c88269412dd938'/>
<id>urn:sha1:5b37a1e4aea3fc2b70d1062d65c88269412dd938</id>
<content type='text'>
Stabilize BTree{Map,Set}::extract_if

Tracking issue: rust-lang/rust#70530
FCP completed: https://github.com/rust-lang/rust/issues/70530#issuecomment-3191454465
Closes: rust-lang/rust#70530
</content>
</entry>
<entry>
<title>Rollup merge of #145756 - okaneco:stabilize_char_boundary, r=scottmcm</title>
<updated>2025-08-30T00:33:03+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>t.gross35@gmail.com</email>
</author>
<published>2025-08-30T00:33:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=751a9ad2e2470cb877307d9fa5c6e43bbc428cf5'/>
<id>urn:sha1:751a9ad2e2470cb877307d9fa5c6e43bbc428cf5</id>
<content type='text'>
str: Stabilize `round_char_boundary` feature

Closes https://github.com/rust-lang/rust/issues/93743
FCP completed https://github.com/rust-lang/rust/issues/93743#issuecomment-3168382171
</content>
</entry>
<entry>
<title>Stabilize BTree{Map,Set}::extract_if</title>
<updated>2025-08-27T18:34:31+00:00</updated>
<author>
<name>Sidney Cammeresi</name>
<email>sac@readyset.io</email>
</author>
<published>2025-08-15T15:45:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f8a7f82bdab57302ca07ea5f3b3fa5173ed9f9ae'/>
<id>urn:sha1:f8a7f82bdab57302ca07ea5f3b3fa5173ed9f9ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize `round_char_boundary` feature</title>
<updated>2025-08-22T17:42:38+00:00</updated>
<author>
<name>okaneco</name>
<email>47607823+okaneco@users.noreply.github.com</email>
</author>
<published>2025-08-22T15:58:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e42c1b12961385d6a5e9e442344fcaef8678ab58'/>
<id>urn:sha1:e42c1b12961385d6a5e9e442344fcaef8678ab58</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move WTF-8 code from std to core/alloc</title>
<updated>2025-08-21T00:31:33+00:00</updated>
<author>
<name>ltdk</name>
<email>usr@ltdk.xyz</email>
</author>
<published>2025-08-13T05:16:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2914291e09cb13aab64207f9e11f2aaf74de3904'/>
<id>urn:sha1:2914291e09cb13aab64207f9e11f2aaf74de3904</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add test for `int_format_into` feature</title>
<updated>2025-07-03T16:57:16+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-06-05T21:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e23144dc65316a8a4b82a418544ae83adcd89ca'/>
<id>urn:sha1:7e23144dc65316a8a4b82a418544ae83adcd89ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #142668 - hkBst:less-static-mut, r=tgross35</title>
<updated>2025-06-20T06:50:39+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>t.gross35@gmail.com</email>
</author>
<published>2025-06-20T06:50:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=52758b7329d436979f8bd8a36d1ca4c476a663fd'/>
<id>urn:sha1:52758b7329d436979f8bd8a36d1ca4c476a663fd</id>
<content type='text'>
vec_deque/fmt/vec tests: remove static mut

More rust-lang/rust#125035.

r? ```@tgross35```
</content>
</entry>
<entry>
<title>Auto merge of #142294 - GuillaumeGomez:specialize-tostring-on-128-integers, r=tgross35</title>
<updated>2025-06-20T02:55:43+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-06-20T02:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5b74275f89b6041bf2e9dc2abcf332e206d4cfca'/>
<id>urn:sha1:5b74275f89b6041bf2e9dc2abcf332e206d4cfca</id>
<content type='text'>
Use a distinct `ToString` implementation for `u128` and `i128`

Part of https://github.com/rust-lang/rust/issues/135543.

Follow-up of rust-lang/rust#136264.

When working on https://github.com/rust-lang/rust/pull/142098, I realized that `i128` and `u128` could also benefit from a distinct `ToString` implementation so here it.

The last commit is just me realizing that I forgot to add the format tests for `usize` and `isize`.

Here is the bench comparison:

| bench name | last nightly | with this PR | diff |
|-|-|-|-|
| bench_i128 | 29.25 ns/iter (+/- 0.66) | 17.52 ns/iter (+/- 0.7) | -40.1% |
| bench_u128 | 34.06 ns/iter (+/- 0.21) | 16.1 ns/iter (+/- 0.6) | -52.7% |

I used this code to test:

```rust
#![feature(test)]

extern crate test;

use test::{Bencher, black_box};

#[inline(always)]
fn convert_to_string&lt;T: ToString&gt;(n: T) -&gt; String {
    n.to_string()
}

macro_rules! decl_benches {
    ($($name:ident: $ty:ident,)+) =&gt; {
        $(
	    #[bench]
            fn $name(c: &amp;mut Bencher) {
                c.iter(|| convert_to_string(black_box({ let nb: $ty = 20; nb })));
            }
	)+
    }
}

decl_benches! {
    bench_u128: u128,
    bench_i128: i128,
}
```
</content>
</entry>
<entry>
<title>vec_deque alloctests: remove static mut</title>
<updated>2025-06-19T11:51:47+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-06-19T11:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=456c9da45a7ccb0903f4d462d93ecffcb51b9d65'/>
<id>urn:sha1:456c9da45a7ccb0903f4d462d93ecffcb51b9d65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vec tests: remove static mut</title>
<updated>2025-06-19T11:39:21+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>mhkbst@gmail.com</email>
</author>
<published>2025-06-19T11:39:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ecdf220dbcd19ba15a2707231df4f25eef498906'/>
<id>urn:sha1:ecdf220dbcd19ba15a2707231df4f25eef498906</id>
<content type='text'>
</content>
</entry>
</feed>
