<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_query_system/src/query/config.rs, branch 1.68.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.68.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.68.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-02T19:22:19+00:00</updated>
<entry>
<title>Abolish `QueryVTable` in favour of more assoc items on `QueryConfig`</title>
<updated>2023-01-02T19:22:19+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-12-30T22:25:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9fe4efe115171dca0dd24b3f1dc3d60e87e0792d'/>
<id>urn:sha1:9fe4efe115171dca0dd24b3f1dc3d60e87e0792d</id>
<content type='text'>
This may introduce additional mono _but_ may help const fold things
better and especially may help not constructing a `QueryVTable` anymore
which is cheap but not free.
</content>
</entry>
<entry>
<title>Use DepKind instead of &amp;str</title>
<updated>2022-12-23T13:09:49+00:00</updated>
<author>
<name>gimbles</name>
<email>yusharora@protonmail.com</email>
</author>
<published>2022-12-23T13:09:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f8b30084ac5ae2845175a89fa66f174d6eb871b2'/>
<id>urn:sha1:f8b30084ac5ae2845175a89fa66f174d6eb871b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sanity check computed value for feeable queries.</title>
<updated>2022-11-29T18:42:23+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2022-10-29T13:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9f2c6b0b09c1f93f922f6fcd46649c3e2110f42b'/>
<id>urn:sha1:9f2c6b0b09c1f93f922f6fcd46649c3e2110f42b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Ctxt` and `CTX` to `Tcx` and `Qcx`</title>
<updated>2022-11-06T12:25:06+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-11-05T20:04:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d26ea86dac0eb987b338bf3ba5f3900fd68f000'/>
<id>urn:sha1:6d26ea86dac0eb987b338bf3ba5f3900fd68f000</id>
<content type='text'>
This makes it consistent and clear which context is used.
</content>
</entry>
<entry>
<title>Merge `QueryDescription` into `QueryConfig`</title>
<updated>2022-11-05T15:24:13+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-11-05T15:04:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=36be251a35512d98cc50afc4b73b3ea7ec1271ff'/>
<id>urn:sha1:36be251a35512d98cc50afc4b73b3ea7ec1271ff</id>
<content type='text'>
`QueryDescription` has gone through a lot of refactoring and doesn't
make sense anymore.
</content>
</entry>
<entry>
<title>Remove the `describe` method from the `QueryDescription` trait</title>
<updated>2022-10-14T20:35:56+00:00</updated>
<author>
<name>nils</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2022-10-13T19:18:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=24ce4cfa205da0afc8500684465bf8158bd4adae'/>
<id>urn:sha1:24ce4cfa205da0afc8500684465bf8158bd4adae</id>
<content type='text'>
It was called directly already, but now it's even more useless since it
just forwards to the free function. Call it directly.
</content>
</entry>
<entry>
<title>Remove unnecessary `TRY_LOAD_FROM_DISK` constant</title>
<updated>2022-09-10T01:24:02+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-09-07T00:09:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a9d7dbca23bb05fab13c1dc75a87cdb2bf69ff5'/>
<id>urn:sha1:0a9d7dbca23bb05fab13c1dc75a87cdb2bf69ff5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `cache_on_disk` from `QueryVTable`</title>
<updated>2022-09-10T01:21:58+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-09-02T03:26:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7208bdee33460b9915e6b389b236d231d2ca3ffc'/>
<id>urn:sha1:7208bdee33460b9915e6b389b236d231d2ca3ffc</id>
<content type='text'>
This is not only simpler, but removes a generic function and unwrap.
I have hope it will see compile time and bootstrap time improvements.
</content>
</entry>
<entry>
<title>Make `HandleCycleError` an enum instead of a macro-generated closure</title>
<updated>2022-09-07T00:26:08+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-09-02T01:43:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4856affd90df68b0b56dee73c431e9d9cdfc977a'/>
<id>urn:sha1:4856affd90df68b0b56dee73c431e9d9cdfc977a</id>
<content type='text'>
- Add a `HandleCycleError` enum to rustc_query_system, along with a `handle_cycle_error` function
- Move `Value` to rustc_query_system, so `handle_cycle_error` can use it
- Move the `Value` impls from rustc_query_impl to rustc_middle. This is necessary due to orphan rules.
</content>
</entry>
<entry>
<title>Don't create two new closures for each query</title>
<updated>2022-09-01T23:47:54+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-08-29T15:20:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e09a13bb848a64acf6bb20359f582e813e74764'/>
<id>urn:sha1:4e09a13bb848a64acf6bb20359f582e813e74764</id>
<content type='text'>
- Parameterize DepKindStruct over `'tcx`

    This allows passing in an invariant function pointer in `query_callback`,
    rather than having to try and make it work for any lifetime.

- Add a new `execute_query` function to `QueryDescription` so we can call `tcx.$name` without needing to be in a macro context
</content>
</entry>
</feed>
