<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_query_impl/src/profiling_support.rs, branch 1.65.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.65.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.65.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-09-07T02:46:31+00:00</updated>
<entry>
<title>Get rid of the emitted `rustc_query_names` and `rustc_cached_queries` macro</title>
<updated>2022-09-07T02:46:31+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-09-07T02:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3a4e3c778889fdf2c4ccb7af26f1e81fc324e98b'/>
<id>urn:sha1:3a4e3c778889fdf2c4ccb7af26f1e81fc324e98b</id>
<content type='text'>
We can avoid these by adding slightly more information to `rustc_query_append` instead.
</content>
</entry>
<entry>
<title>Support doc-comments in `define_dep_nodes`</title>
<updated>2022-09-07T02:43:15+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-08-29T23:46:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c630c87ceb0c49c5dc2b1a6119c67e9033dce828'/>
<id>urn:sha1:c630c87ceb0c49c5dc2b1a6119c67e9033dce828</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Further simplify the macros generated by `rustc_queries`</title>
<updated>2022-09-07T02:43:15+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-08-29T22:45:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=05886e28a4c3fbb7bc22d56bf5a52ba7cfa491d9'/>
<id>urn:sha1:05886e28a4c3fbb7bc22d56bf5a52ba7cfa491d9</id>
<content type='text'>
- Add a new `rustc_query_names` macro. This allows a much simpler syntax for the matchers in the macros passed to it as a callback.
- Convert `define_dep_nodes` and `alloc_once` to use `rustc_query_names`. This is possible because they only use the names
  (despite the quite complicated matchers in `define_dep_nodes`, none of the other arguments are used).
- Get rid of `rustc_dep_node_append`.
</content>
</entry>
<entry>
<title>Simplify the syntax for macros generated by `rustc_queries`</title>
<updated>2022-08-24T05:37:49+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-08-24T05:02:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7b8e2a52ff29d400b4d869fad1d917ffa9bdce59'/>
<id>urn:sha1:7b8e2a52ff29d400b4d869fad1d917ffa9bdce59</id>
<content type='text'>
- Disallow multiple macros callbacks in the same invocation. In practice, this was never used.
- Remove the `[]` brackets around the macro name
- Require an `ident`, not an arbitrary `tt`
</content>
</entry>
<entry>
<title>Remove `$tcx` metavariable from `rustc_query_append`</title>
<updated>2022-08-24T02:33:19+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jnelson@cloudflare.com</email>
</author>
<published>2022-08-12T00:54:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b53761969fa7954e4de4d6bb890addc23d668608'/>
<id>urn:sha1:b53761969fa7954e4de4d6bb890addc23d668608</id>
<content type='text'>
It's not actually necessary and it makes the code harder to read.
</content>
</entry>
<entry>
<title>Integrate measureme's hardware performance counter support.</title>
<updated>2022-06-13T07:56:47+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2020-10-22T05:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d76573abd19d50c25c5b58ec7fc5cfef579e6eef'/>
<id>urn:sha1:d76573abd19d50c25c5b58ec7fc5cfef579e6eef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stop using CRATE_DEF_INDEX.</title>
<updated>2022-04-17T10:14:42+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2022-04-15T17:27:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=07ee0317638cf1f290a8dace1c7ccc8fea16a236'/>
<id>urn:sha1:07ee0317638cf1f290a8dace1c7ccc8fea16a236</id>
<content type='text'>
`CRATE_DEF_ID` and `CrateNum::as_def_id` are almost always what we want.
</content>
</entry>
<entry>
<title>Move Sharded maps into each QueryCache impl</title>
<updated>2022-02-20T17:10:46+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2022-02-20T03:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9deed6f74ea2df0ba08fb72342bef4eb303d0777'/>
<id>urn:sha1:9deed6f74ea2df0ba08fb72342bef4eb303d0777</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk</title>
<updated>2021-12-19T09:31:37+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-12-19T09:31:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a41a6925badac7508d7a72cc1fc20f43dc6ad75e'/>
<id>urn:sha1:a41a6925badac7508d7a72cc1fc20f43dc6ad75e</id>
<content type='text'>
Remove `SymbolStr`

This was originally proposed in https://github.com/rust-lang/rust/pull/74554#discussion_r466203544. As well as removing the icky `SymbolStr` type, it allows the removal of a lot of `&amp;` and `*` occurrences.

Best reviewed one commit at a time.

r? `@oli-obk`
</content>
</entry>
<entry>
<title>Remove `SymbolStr`.</title>
<updated>2021-12-15T02:30:26+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2021-12-14T21:32:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8cddcd39ba2189da859a5164804556190906ee2a'/>
<id>urn:sha1:8cddcd39ba2189da859a5164804556190906ee2a</id>
<content type='text'>
By changing `as_str()` to take `&amp;self` instead of `self`, we can just
return `&amp;str`. We're still lying about lifetimes, but it's a smaller lie
than before, where `SymbolStr` contained a (fake) `&amp;'static str`!
</content>
</entry>
</feed>
