<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/doc/rustc-dev-guide/examples, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-03-29T22:31:44+00:00</updated>
<entry>
<title>add rustfmt settings file</title>
<updated>2025-03-29T22:31:44+00:00</updated>
<author>
<name>Tshepang Mbambo</name>
<email>tshepang@gmail.com</email>
</author>
<published>2025-03-29T22:31:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9302f4d94f97750e84a47eaf5ac180feaaaafa3a'/>
<id>urn:sha1:9302f4d94f97750e84a47eaf5ac180feaaaafa3a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>example assumes a static exists</title>
<updated>2025-03-29T22:16:39+00:00</updated>
<author>
<name>Tshepang Mbambo</name>
<email>tshepang@gmail.com</email>
</author>
<published>2025-03-29T22:16:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=471a2a8b87d8b5ba03a43a2c067dd322c1f5e7af'/>
<id>urn:sha1:471a2a8b87d8b5ba03a43a2c067dd322c1f5e7af</id>
<content type='text'>
This was removed, likely by mistake, during a refactor.
</content>
</entry>
<entry>
<title>update rustc-{driver,interface} examples</title>
<updated>2025-03-29T21:52:57+00:00</updated>
<author>
<name>Tshepang Mbambo</name>
<email>tshepang@gmail.com</email>
</author>
<published>2025-03-29T21:52:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1faf7ff9a434de8995e97e7372408489ce87050e'/>
<id>urn:sha1:1faf7ff9a434de8995e97e7372408489ce87050e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Following commit 401dd84 in the Rust project</title>
<updated>2025-03-16T15:43:17+00:00</updated>
<author>
<name>Yang Lin</name>
<email>yanglin@smail.nju.edu.cn</email>
</author>
<published>2025-03-16T15:43:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a2d1fdb141ec2db9be1802316c66722f7b678f8'/>
<id>urn:sha1:9a2d1fdb141ec2db9be1802316c66722f7b678f8</id>
<content type='text'>
(https://github.com/rust-lang/rust),
`ErrorGuaranteed` was replaced by fatal errors.
As a result, `tcx.analysis()` now aborts directly
instead of returning an error guard.
To accommodate this change, this update replaces
`tcx.analysis()` with `typeck()`
to perform type checking in the example.
</content>
</entry>
<entry>
<title>Adapt to rust-lang/rust#136466:</title>
<updated>2025-03-16T15:27:10+00:00</updated>
<author>
<name>Yang Lin</name>
<email>yanglin@smail.nju.edu.cn</email>
</author>
<published>2025-03-16T15:27:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a4b76e31f8f906e31256b2c8f696e39b2ee36c41'/>
<id>urn:sha1:a4b76e31f8f906e31256b2c8f696e39b2ee36c41</id>
<content type='text'>
Start removing `rustc_middle::hir::map::Map`

Following commit f86f7ad from pull request #136466
in the Rust project
(https://github.com/rust-lang/rust),
some methods in `Map` were moved to `TyCtxt`.
This update reimplements `rustc-drive-example.rs`,
`rustc-driver-interacting-with-the-ast.rs`,
and `rustc-interface-example.rs` using the new
versions of these methods, ensuring compatibility
with the nightly-2025-03-08 toolchain.
</content>
</entry>
<entry>
<title>Merge from rustc</title>
<updated>2025-02-25T21:27:44+00:00</updated>
<author>
<name>Boxy</name>
<email>rust@boxyuwu.dev</email>
</author>
<published>2025-02-25T21:27:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d9683df7c2f6d4141b1321e27635d2ce3167eaa4'/>
<id>urn:sha1:d9683df7c2f6d4141b1321e27635d2ce3167eaa4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move some `Map` methods onto `TyCtxt`.</title>
<updated>2025-02-17T02:21:02+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-02-02T23:45:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f86f7ad5f2d3eb6631e5fab57630a4fee9a50d01'/>
<id>urn:sha1:f86f7ad5f2d3eb6631e5fab57630a4fee9a50d01</id>
<content type='text'>
The end goal is to eliminate `Map` altogether.

I added a `hir_` prefix to all of them, that seemed simplest. The
exceptions are `module_items` which became `hir_module_free_items` because
there was already a `hir_module_items`, and `items` which became
`hir_free_items` for consistency with `hir_module_free_items`.
</content>
</entry>
<entry>
<title>Fix examples to work with nightly-2025-02-13</title>
<updated>2025-02-15T18:44:32+00:00</updated>
<author>
<name>Florian Brucker</name>
<email>mail@florianbrucker.de</email>
</author>
<published>2025-02-15T18:44:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dce265224a7674814d4d81a81192bf9077ed2edd'/>
<id>urn:sha1:dce265224a7674814d4d81a81192bf9077ed2edd</id>
<content type='text'>
While there were comments indicating which nightly versions the examples
were tested with, those versions did not work for me: neither did the
examples compile, nor did they produce the expected output.

This commit fixes the compilation issues, using nightly-2025-02-13 for
all examples (previously the version differed between the examples) and,
in the case of the `rustc_driver` examples, also fixes the argument
passing: rustc ignores the first argument, so we need to pass the
filename as the second (otherwise we only get the help text printed).

Note that the `rustc-interface-getting-diagnostics.rs` example still
does not produce any output, which I assume is not how it is intended.
However, I don't know enough to fix it.

To avoid inconsistencies between the documented version and the actually
required version I've moved the version comment from the Markdown into
the Rust code where it hopefully won't be forgotten as easily.

Finally I've clarified in the examples' README that you also need to use
the proper nightly version when compiling the examples, not just when
running them.
</content>
</entry>
<entry>
<title>tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`</title>
<updated>2025-02-03T10:25:57+00:00</updated>
<author>
<name>Askar Safin</name>
<email>safinaskar@mail.ru</email>
</author>
<published>2025-02-03T03:44:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a21f1d0a2fe9e84727a2de735fdcf55e8820db6'/>
<id>urn:sha1:0a21f1d0a2fe9e84727a2de735fdcf55e8820db6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace ParseSess::set_dcx with DiagCtxt::set_emitter</title>
<updated>2025-02-02T16:09:39+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-02-02T16:06:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a566ee092cacf6e4b327e7fdbbb1003a514b820'/>
<id>urn:sha1:6a566ee092cacf6e4b327e7fdbbb1003a514b820</id>
<content type='text'>
Replacing the error emitter doesn't accidentally clear the error count.
</content>
</entry>
</feed>
