<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_middle/src/dep_graph/dep_node.rs, branch 1.84.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.84.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.84.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>Add `warn(unreachable_pub)` to `rustc_middle`.</title>
<updated>2024-08-29T10:13:06+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-08-28T23:59:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=938daf6033514c190957349354f0c89264370a41'/>
<id>urn:sha1:938daf6033514c190957349354f0c89264370a41</id>
<content type='text'>
I am surprised the diff is so small for this enormous crate.
</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>local_def_path_hash_to_def_id can fail</title>
<updated>2024-06-19T11:45:47+00:00</updated>
<author>
<name>Michael Baikov</name>
<email>manpacket@gmail.com</email>
</author>
<published>2024-06-13T12:46:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12f8d12b418c9bbe4d2142f2c8e00a28a5b6dfe5'/>
<id>urn:sha1:12f8d12b418c9bbe4d2142f2c8e00a28a5b6dfe5</id>
<content type='text'>
local_def_path_hash_to_def_id is used by Debug impl for DepNode and it
looks for DefPathHash inside the current compilation. During incremental
compilation we are going through nodes that belong to a previous
compilation and might not be present and a simple attempt to print such
node with tracing::debug (try_mark_parent_green does it for example)
results in a otherwise avoidable panic

Panic was added in https://github.com/rust-lang/rust/pull/82183,
specifically in 2b60338ee9, with a comment "We only use this mapping for
cases where we know that it must succeed.", but I'm not sure if this
property holds when we traverse nodes from the old compilation in order
to figure out if they are valid or not
</content>
</entry>
<entry>
<title>Use a `dyn Debug` trait object instead of a closure.</title>
<updated>2024-03-27T10:59:18+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-03-27T08:05:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d4b7f287d641b01d666416892498de6b6d7c23c'/>
<id>urn:sha1:2d4b7f287d641b01d666416892498de6b6d7c23c</id>
<content type='text'>
Simplifies the API a bit.
</content>
</entry>
<entry>
<title>Move `DepKind` to `rustc_query_system` and define it as `u16`</title>
<updated>2023-09-21T15:06:14+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-15T13:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1806efe7f2757c5fbcf99d1ac9ca2d26fb0a7c4e'/>
<id>urn:sha1:1806efe7f2757c5fbcf99d1ac9ca2d26fb0a7c4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a specialized varint + bitpacking scheme for DepGraph encoding</title>
<updated>2023-09-04T16:16:50+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2023-04-30T01:51:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=94fe18f84be026b8e56e81e02545dafc6cfe7378'/>
<id>urn:sha1:94fe18f84be026b8e56e81e02545dafc6cfe7378</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Encode DepKind as u16</title>
<updated>2023-09-03T22:48:23+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2023-08-30T17:45:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9867023f4f501018dd5524366949bd6f09ded192'/>
<id>urn:sha1:9867023f4f501018dd5524366949bd6f09ded192</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add typed `{Local}DefId` for modules</title>
<updated>2023-08-13T05:54:50+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2023-04-26T18:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40de40e0941c3c7dde0cb5dd8e116d0051481543'/>
<id>urn:sha1:40de40e0941c3c7dde0cb5dd8e116d0051481543</id>
<content type='text'>
This allows for better type safety in the compiler and also improves the
documentation for many things, making it clear that they expect modules.
</content>
</entry>
<entry>
<title>rustc: Move `stable_crate_id` from `Session` to `GlobalCtxt`</title>
<updated>2023-08-09T06:35:23+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2023-08-08T12:08:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=907aa440cf51859b97dd0a1e25b6f15d344f4ebe'/>
<id>urn:sha1:907aa440cf51859b97dd0a1e25b6f15d344f4ebe</id>
<content type='text'>
Removes a piece of mutable state.
Follow up to #114578.
</content>
</entry>
</feed>
