<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/stable_mir/src, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-14T09:25:54+00:00</updated>
<entry>
<title>rename `stable_mir` to `rustc_public`, and `rustc_smir` to `rustc_public_bridge`</title>
<updated>2025-07-14T09:25:54+00:00</updated>
<author>
<name>Makai</name>
<email>m4kai410@gmail.com</email>
</author>
<published>2025-07-12T15:28:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6598c61725abb0e8179b8a5fab7a0ed1f7fcaf5f'/>
<id>urn:sha1:6598c61725abb0e8179b8a5fab7a0ed1f7fcaf5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add opaque TypeId handles for CTFE</title>
<updated>2025-07-09T16:37:11+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-03-12T10:26:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=486ffda9dcd0d4ef0a09d81e6ce5f241e77526a1'/>
<id>urn:sha1:486ffda9dcd0d4ef0a09d81e6ce5f241e77526a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move `stable_mir` back to its own crate and move `rustc_internal` to the`stable_mir` crate</title>
<updated>2025-07-06T12:25:42+00:00</updated>
<author>
<name>Makai</name>
<email>m4kai410@gmail.com</email>
</author>
<published>2025-07-05T15:28:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c42a9ac6029e8a2b6b76564240e1f89850992b21'/>
<id>urn:sha1:c42a9ac6029e8a2b6b76564240e1f89850992b21</id>
<content type='text'>
As part of this reorganization, some traits need to be moved from `rustc_smir::context::traits` to `stable_mir::unstable::internal_cx`. These traits are specifically designed for `InternalCx` to clarify the behavior of different functions that share the same name. This move is necessary to avoid orphan rule violations.
</content>
</entry>
<entry>
<title>Change rustc_driver dependency on stable_mir crate</title>
<updated>2025-04-30T22:39:52+00:00</updated>
<author>
<name>Celina G. Val</name>
<email>celinval@amazon.com</email>
</author>
<published>2025-04-30T22:39:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0f81fca8ec623e849225a254ef6f639963ff54c0'/>
<id>urn:sha1:0f81fca8ec623e849225a254ef6f639963ff54c0</id>
<content type='text'>
This fixes issues with RustAnalyzer not finding stable_mir crate.
It is also part of the long term architecture plan for these crates,
since we are moving towards having stable_mir depend on rustc_smir and
not the other way around.

I believe this is an utility function that will come handy eventually
for stable_mir users, but I'm keeping it as part of rustc_internal since
it initializes the StableMir context and requires `TyCtxt`.

Finally, I added the rustc_internal crate under a feature since the APIs
from this module shall not be stabilized.
</content>
</entry>
<entry>
<title>let `rustc_smir` host `stable_mir` for refactoring</title>
<updated>2025-04-05T10:23:07+00:00</updated>
<author>
<name>Makai</name>
<email>m4kai410@gmail.com</email>
</author>
<published>2025-04-05T10:23:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=707d356d004029a7e5300ce51e5aed330aa4a1a7'/>
<id>urn:sha1:707d356d004029a7e5300ce51e5aed330aa4a1a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #138826 - makai410:assoc-items, r=celinval</title>
<updated>2025-04-05T02:18:15+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-04-05T02:18:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=93f7583491ff4d8cd0e06486589c279856e0b1e3'/>
<id>urn:sha1:93f7583491ff4d8cd0e06486589c279856e0b1e3</id>
<content type='text'>
StableMIR: Add `associated_items`.

Resolves: https://github.com/rust-lang/project-stable-mir/issues/87
</content>
</entry>
<entry>
<title>Implement `associated_items` api.</title>
<updated>2025-04-01T09:11:53+00:00</updated>
<author>
<name>makai410</name>
<email>m4kai410@gmail.com</email>
</author>
<published>2025-04-01T09:11:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f9ef4563c23d81dff49a3cc4443202358426e3bd'/>
<id>urn:sha1:f9ef4563c23d81dff49a3cc4443202358426e3bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use `try_fold` instead of `fold`</title>
<updated>2025-03-28T12:14:09+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-03-28T12:14:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=827cb1b2a7b4334b38b20c291a95de62894c335c'/>
<id>urn:sha1:827cb1b2a7b4334b38b20c291a95de62894c335c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #138536 - makai410:mut-mir-visitor, r=celinval</title>
<updated>2025-03-22T10:59:17+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-03-22T10:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1cb17dd6f23c0c5fcaad149ed8cc058ca7cb8abf'/>
<id>urn:sha1:1cb17dd6f23c0c5fcaad149ed8cc058ca7cb8abf</id>
<content type='text'>
stable_mir: Add `MutMirVisitor`

Resolves: [rust-lang/project-stable-mir#81](https://github.com/rust-lang/project-stable-mir/issues/81).

I am unsure if we should add a `MutableBody` like Kani did.
Currently, I use `&amp;mut Body` in `MutMirVisitor::visit_body()`.

r? ``````@celinval``````
</content>
</entry>
<entry>
<title>Add `MutMirVisitor`</title>
<updated>2025-03-18T01:48:30+00:00</updated>
<author>
<name>makai410</name>
<email>m4kai410@gmail.com</email>
</author>
<published>2025-03-18T01:48:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=69a3ad0d0a1da2c1e723cbfe4056b629c10d32b1'/>
<id>urn:sha1:69a3ad0d0a1da2c1e723cbfe4056b629c10d32b1</id>
<content type='text'>
Implement `make_mir_visitor` macro to generate `MirVisitor` and `MutMirVisitor`.

Add `ret_local_mut()`, `arg_locals_mut()` and `inner_locals_mut()` to `Body`, specifically for `MutMirVisitor`.
</content>
</entry>
</feed>
