<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_query_system/src/dep_graph/serialized.rs, branch 1.82.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.82.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.82.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-08-29T10:18:44+00:00</updated>
<entry>
<title>Add `warn(unreachable_pub)` to `rustc_query_system`.</title>
<updated>2024-08-29T10:18:44+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-08-29T06:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=afc58beebe2366a09baaf622e9834bdae25cc510'/>
<id>urn:sha1:afc58beebe2366a09baaf622e9834bdae25cc510</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: simple typo in compiler directory</title>
<updated>2024-08-20T12:50:32+00:00</updated>
<author>
<name>c8ef</name>
<email>c8ef@outlook.com</email>
</author>
<published>2024-08-20T12:50:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=257519615227104e57b1d69bf637e0278281806c'/>
<id>urn:sha1:257519615227104e57b1d69bf637e0278281806c</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>Add a footer in FileEncoder and check for it in MemDecoder</title>
<updated>2024-05-22T00:12:29+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-05-04T01:17:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95150d72465db491f4b04b73545e106462bd003b'/>
<id>urn:sha1:95150d72465db491f4b04b73545e106462bd003b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `extern crate tracing` from numerous crates.</title>
<updated>2024-04-30T06:47:49+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-04-29T06:24:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6341935a13b903a563d7e8678a98f9974629e5a9'/>
<id>urn:sha1:6341935a13b903a563d7e8678a98f9974629e5a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove some things that do not need to be</title>
<updated>2024-04-11T19:09:52+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-04-07T15:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f9ca2135101831f9dc240201e3c0e807fa2d1b1b'/>
<id>urn:sha1:f9ca2135101831f9dc240201e3c0e807fa2d1b1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some comments and do some renames</title>
<updated>2024-03-23T19:23:25+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2024-03-23T19:23:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aa9c9a36c06ac33275be60b840d1b954f8b1eac3'/>
<id>urn:sha1:aa9c9a36c06ac33275be60b840d1b954f8b1eac3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Encode dep graph edges directly from the previous graph when promoting</title>
<updated>2024-03-23T19:03:55+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-23T23:34:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6119763e199b1cf92a1a43d3511028f67e68986f'/>
<id>urn:sha1:6119763e199b1cf92a1a43d3511028f67e68986f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #122245 - saethlin:check-dep-graph-size, r=petrochenkov</title>
<updated>2024-03-12T16:04:00+00:00</updated>
<author>
<name>Jubilee</name>
<email>46493976+workingjubilee@users.noreply.github.com</email>
</author>
<published>2024-03-12T16:04:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f54350a9ba43773fb8bb3f56fba119b81b346fbc'/>
<id>urn:sha1:f54350a9ba43773fb8bb3f56fba119b81b346fbc</id>
<content type='text'>
Detect truncated DepGraph files

I suspect that the following issues are caused by truncated incr comp files:

* https://github.com/rust-lang/rust/issues/120582
* https://github.com/rust-lang/rust/issues/121499
* https://github.com/rust-lang/rust/issues/122210

We fail with an allocation failure or capacity overflow in this case because we assume that the ending bytes of an DepGraph file are the lengths of arrays. If the file has somehow been truncated then the ending bytes are probably some of our varint encoding, which tries to eliminate zero bytes, so interpreting a random 8 bytes as an array length has a very high chance of producing a byte capacity over `isize::MAX`.

Now theoretically since https://github.com/rust-lang/rust/pull/119510 merged I have fixed the out-of-disk issues and yet in https://github.com/rust-lang/rust/issues/120894#issuecomment-1945126700 I still see some decoding failures that look like out-of-disk ICEs, for example https://crater-reports.s3.amazonaws.com/beta-1.77-1/beta-2024-02-10/gh/scottfones.aoc_2022/log.txt

So this PR should ensure that we get an ICE that clearly identifies if the file in question is truncated.
</content>
</entry>
<entry>
<title>Detect truncated incr comp files</title>
<updated>2024-03-09T20:43:50+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-02-12T04:12:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=11f8866ca811628275a9e17c788462804444226f'/>
<id>urn:sha1:11f8866ca811628275a9e17c788462804444226f</id>
<content type='text'>
</content>
</entry>
</feed>
