<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_log/src/lib.rs, branch 1.85.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.85.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.85.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-09-22T23:11:29+00:00</updated>
<entry>
<title>Reformat using the new identifier sorting from rustfmt</title>
<updated>2024-09-22T23:11:29+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-09-22T23:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c682aa162b0d41e21cc6748f4fecfe01efb69d1f'/>
<id>urn:sha1:c682aa162b0d41e21cc6748f4fecfe01efb69d1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>Bump tracing-tree and allow rendering lines again</title>
<updated>2024-06-12T10:11:41+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-06-11T08:55:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=185a48d4b266722d550474a620c0e37e28b1c6d6'/>
<id>urn:sha1:185a48d4b266722d550474a620c0e37e28b1c6d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove tracing tree indent lines</title>
<updated>2024-05-30T13:26:48+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2024-05-21T18:01:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=97d2c3a6a738c019ba59d884a7233ca53ee4f28c'/>
<id>urn:sha1:97d2c3a6a738c019ba59d884a7233ca53ee4f28c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use Backtrace::force_capture instead of Backtrace::capture in rustc_log</title>
<updated>2024-05-21T08:54:36+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2024-05-21T08:54:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8f11f48a027888b71efbb1769b432606e824e577'/>
<id>urn:sha1:8f11f48a027888b71efbb1769b432606e824e577</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Construct `SourceMap` at the same time as `SessionGlobals`.</title>
<updated>2024-04-16T03:02:53+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-03-21T03:17:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=62c32aeeab0558123f12a9372768ba567ce43361'/>
<id>urn:sha1:62c32aeeab0558123f12a9372768ba567ce43361</id>
<content type='text'>
Currently `SourceMap` is constructed slightly later than
`SessionGlobals`, and inserted. This commit changes things so they are
done at the same time.

Benefits:
- `SessionGlobals::source_map` changes from
  `Lock&lt;Option&lt;Lrc&lt;SourceMap&gt;&gt;&gt;` to `Option&lt;Lrc&lt;SourceMap&gt;&gt;`. It's still
  optional, but mutability isn't required because it's initialized at
  construction.
- `set_source_map` is removed, simplifying `run_compiler`, which is
  good because that's a critical function and it's nice to make it
  simpler.

This requires moving things around a bit, so the necessary inputs are
available when `SessionGlobals` is created, in particular the `loader`
and `hash_kind`, which are no longer computed by `build_session`. These
inputs are captured by the new `SourceMapInputs` type, which is threaded
through various places.
</content>
</entry>
<entry>
<title>rustc_log: expose tracing-tree "wraparound" in an env var</title>
<updated>2024-03-03T11:33:26+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-03-03T11:31:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=90162ea7b15a8ecebe1d3c0be6cc8687dbbb05e1'/>
<id>urn:sha1:90162ea7b15a8ecebe1d3c0be6cc8687dbbb05e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Invert diagnostic lints.</title>
<updated>2024-02-06T02:12:33+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-02-05T22:51:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0ac1195ee0f8cd6d87e654a2312b899883272ec2'/>
<id>urn:sha1:0ac1195ee0f8cd6d87e654a2312b899883272ec2</id>
<content type='text'>
That is, change `diagnostic_outside_of_impl` and
`untranslatable_diagnostic` from `allow` to `deny`, because more than
half of the compiler has be converted to use translated diagnostics.

This commit removes more `deny` attributes than it adds `allow`
attributes, which proves that this change is warranted.
</content>
</entry>
<entry>
<title>rustc_log: provide a way to init logging based on the values, not names, of the env vars</title>
<updated>2023-11-11T14:24:33+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-11-11T12:34:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=581a317bbbbad807fd88eab490516787f1e9249e'/>
<id>urn:sha1:581a317bbbbad807fd88eab490516787f1e9249e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use env variable to control thread ids in rustc_log</title>
<updated>2023-10-10T01:39:47+00:00</updated>
<author>
<name>SparrowLii</name>
<email>liyuan179@huawei.com</email>
</author>
<published>2023-10-10T01:39:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2dcc828863ed8515df3a0efac507535581d162de'/>
<id>urn:sha1:2dcc828863ed8515df3a0efac507535581d162de</id>
<content type='text'>
</content>
</entry>
</feed>
