<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_middle/src/mir/interpret, branch auto</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=auto</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=auto'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-24T11:35:29+00:00</updated>
<entry>
<title>const validation: better error for maybe-null references</title>
<updated>2025-09-24T11:35:29+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-09-24T10:12:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8328c3dada0c888b1c570f97314b3f697d4b2a96'/>
<id>urn:sha1:8328c3dada0c888b1c570f97314b3f697d4b2a96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>const-eval: improve and actually test the errors when pointers might be outside the range of a scalar</title>
<updated>2025-09-24T11:34:33+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-09-22T17:46:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a41add6293d76b165968d70f95e7edbbe65fe11'/>
<id>urn:sha1:0a41add6293d76b165968d70f95e7edbbe65fe11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #146331 - RalfJung:copy-prov-repeat, r=oli-obk</title>
<updated>2025-09-17T13:56:54+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-09-17T13:56:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5d1b897a07dc30d810dd541795125c1c216266c7'/>
<id>urn:sha1:5d1b897a07dc30d810dd541795125c1c216266c7</id>
<content type='text'>
interpret: copy_provenance: avoid large intermediate buffer for large repeat counts

Copying provenance worked in this odd way where the "preparation" phase (which is supposed to just extract the necessary information from the source range) already did all the work of repeating the result N times for the target range. This was needed to use the existing `insert_presorted` function on `SortedMap`.

This PR generalizes `insert_presorted` so that we can avoid this odd structure on copy-provenance, and maybe even improve performance.
</content>
</entry>
<entry>
<title>Rollup merge of #146178 - folkertdev:static-align, r=jdonszelmann,ralfjung,traviscross</title>
<updated>2025-09-10T12:17:38+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-09-10T12:17:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=422c76adae98b55d13a07a8fb47d8bc47fa96fdf'/>
<id>urn:sha1:422c76adae98b55d13a07a8fb47d8bc47fa96fdf</id>
<content type='text'>
Implement `#[rustc_align_static(N)]` on `static`s

Tracking issue: https://github.com/rust-lang/rust/issues/146177

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

#[rustc_align_static(64)]
static SO_ALIGNED: u64 = 0;
```

We need a different attribute than `rustc_align` because unstable attributes are tied to their feature (we can't have two unstable features use the same unstable attribute). Otherwise this uses all of the same infrastructure as `#[rustc_align]`.

r? `@traviscross`
</content>
</entry>
<entry>
<title>avoid calling insert_presorted more than once</title>
<updated>2025-09-10T06:40:12+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-09-08T14:10:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7abbc9c8b2c638752e2a6b0913ed1e93e14d21ba'/>
<id>urn:sha1:7abbc9c8b2c638752e2a6b0913ed1e93e14d21ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>interpret: copy_provenance: avoid large intermediate buffer for large repeat counts</title>
<updated>2025-09-10T06:40:12+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-09-08T13:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=64ea775d27599a33b070dd3aa4353e1e7faee0b4'/>
<id>urn:sha1:64ea775d27599a33b070dd3aa4353e1e7faee0b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>allow `#[rustc_align_static(N)]` on `static`s</title>
<updated>2025-09-09T19:54:54+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2025-06-07T20:56:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cbacd00f106778830803ad2e2364518f06ff9078'/>
<id>urn:sha1:cbacd00f106778830803ad2e2364518f06ff9078</id>
<content type='text'>
We need a different attribute than `rustc_align` because unstable attributes are
tied to their feature (we can't have two unstable features use the same
unstable attribute). Otherwise this uses all of the same infrastructure
as `#[rustc_align]`.
</content>
</entry>
<entry>
<title>Auto merge of #145717 - BoxyUwU:erase_regions_rename, r=lcnr</title>
<updated>2025-09-09T15:04:44+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-09-09T15:04:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=364da5d88d772fa40fb20353443595385443ac25'/>
<id>urn:sha1:364da5d88d772fa40fb20353443595385443ac25</id>
<content type='text'>
rename erase_regions to erase_and_anonymize_regions

I find it consistently confusing that `erase_regions` does more than replacing regions with `'erased`. it also makes some code look real goofy to be writing manual folders to erase regions with a comment saying "we cant use erase regions" :&gt; or code that re-calls erase_regions on types with regions already erased just to anonymize all the bound regions.

r? lcnr

idk how i feel about the name being almost twice as long now
</content>
</entry>
<entry>
<title>erase_regions to erase_and_anonymize_regions</title>
<updated>2025-09-09T12:49:16+00:00</updated>
<author>
<name>Boxy</name>
<email>rust@boxyuwu.dev</email>
</author>
<published>2025-08-21T15:50:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e379c7758667f900aaf5551c4553c7d4c121e3e1'/>
<id>urn:sha1:e379c7758667f900aaf5551c4553c7d4c121e3e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>const-eval: disable pointer fragment support</title>
<updated>2025-09-08T11:22:52+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-09-08T08:40:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aed0ed4c93d661fc7b66dc4a39690948476e8a4a'/>
<id>urn:sha1:aed0ed4c93d661fc7b66dc4a39690948476e8a4a</id>
<content type='text'>
</content>
</entry>
</feed>
