<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_const_eval/src, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-20T20:14:27+00:00</updated>
<entry>
<title>fix handling of base address for TypeId allocations</title>
<updated>2025-07-20T20:14:27+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-07-19T18:04:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3f9be406a6fd879a99a0eba33cc196fa2cb3957b'/>
<id>urn:sha1:3f9be406a6fd879a99a0eba33cc196fa2cb3957b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>interpret: fix TypeId pointers being considered data pointers</title>
<updated>2025-07-19T08:29:13+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-07-19T08:29:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7672e4ed85916d564d38dbd3a64803a45568504d'/>
<id>urn:sha1:7672e4ed85916d564d38dbd3a64803a45568504d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #144123 - oli-obk:ctfe-unsize, r=RalfJung</title>
<updated>2025-07-18T17:14:47+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-18T17:14:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a59efc61f92e2ee047f72fde2494664e9a1793b8'/>
<id>urn:sha1:a59efc61f92e2ee047f72fde2494664e9a1793b8</id>
<content type='text'>
Generalize `unsize` and `unsize_into` destinations

Just something that I noticed during other work. We do this for most such functions, so let's do it here, too.

r? ``@RalfJung``
</content>
</entry>
<entry>
<title>Rollup merge of #142673 - oli-obk:uninit-read-mem, r=RalfJung</title>
<updated>2025-07-18T17:14:43+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-18T17:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b3827e4f3728b77bd3e60587487ebfc3cc8d901b'/>
<id>urn:sha1:b3827e4f3728b77bd3e60587487ebfc3cc8d901b</id>
<content type='text'>
Show the offset, length and memory of uninit read errors

r? ``@RalfJung``

I want to improve memory dumps in general. Not sure yet how to do so best within rust diagnostics, but in a perfect world I could generate a dummy in-memory file (that contains the rendered memory dump) that we then can then provide regular rustc `Span`s to. So we'd basically report normal diagnostics for them with squiggly lines and everything.
</content>
</entry>
<entry>
<title>Generalize `unsize` and `unsize_into` destinations</title>
<updated>2025-07-18T13:09:34+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-07-03T08:00:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c65d3ce365ecb6d6f36b413edb591d4746f52305'/>
<id>urn:sha1:c65d3ce365ecb6d6f36b413edb591d4746f52305</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Show the memory of uninit reads</title>
<updated>2025-07-18T07:47:08+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-06-18T12:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=652ba279ecc693d8b4310c40e645a62009f5b0ed'/>
<id>urn:sha1:652ba279ecc693d8b4310c40e645a62009f5b0ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #143293 - folkertdev:naked-function-kcfi, r=compiler-errors</title>
<updated>2025-07-18T02:27:51+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-18T02:27:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=accf61dd42548bd5ec61d43f246b3eb499e980dd'/>
<id>urn:sha1:accf61dd42548bd5ec61d43f246b3eb499e980dd</id>
<content type='text'>
fix `-Zsanitizer=kcfi` on `#[naked]` functions

fixes https://github.com/rust-lang/rust/issues/143266

With `-Zsanitizer=kcfi`, indirect calls happen via generated intermediate shim that forwards the call. The generated shim preserves the attributes of the original, including `#[unsafe(naked)]`. The shim is not a naked function though, and violates its invariants (like having a body that consists of a single `naked_asm!` call).

My fix here is to match on the `InstanceKind`, and only use `codegen_naked_asm` when the instance is not a `ReifyShim`. That does beg the question whether there are other `InstanceKind`s that could come up. As far as I can tell the answer is no: calling via `dyn` seems to work find, and `#[track_caller]` is disallowed in combination with `#[naked]`.

r? codegen
````@rustbot```` label +A-naked
cc ````@maurer```` ````@rcvalle````
</content>
</entry>
<entry>
<title>Report the range of uninit bytes in CTFE errors</title>
<updated>2025-07-17T20:00:51+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-06-18T12:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12eedafc38b1d3af02c9c15333d0ba2f1aee1253'/>
<id>urn:sha1:12eedafc38b1d3af02c9c15333d0ba2f1aee1253</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #143879 - fee1-dead-contrib:push-lrlpoouyqqry, r=fmease</title>
<updated>2025-07-17T15:54:33+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-17T15:54:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cd918bcbbc26deb005eb4e1bd9a445380195e56'/>
<id>urn:sha1:9cd918bcbbc26deb005eb4e1bd9a445380195e56</id>
<content type='text'>
parse `const trait Trait`

r? oli-obk or anyone from project-const-traits

cc `@rust-lang/project-const-traits`
</content>
</entry>
<entry>
<title>parse `const trait Trait`</title>
<updated>2025-07-17T10:06:26+00:00</updated>
<author>
<name>Deadbeef</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2025-07-13T08:49:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=69326878eeabb713e2d4a85215b87f18e498313c'/>
<id>urn:sha1:69326878eeabb713e2d4a85215b87f18e498313c</id>
<content type='text'>
</content>
</entry>
</feed>
