Skip to content

Commit 9a6bd9f

Browse files
syvbjyn514
authored andcommitted
Remove docs for old -Z profile-queries flag
1 parent 74b138e commit 9a6bd9f

File tree

3 files changed

+20
-348
lines changed

3 files changed

+20
-348
lines changed

src/SUMMARY.md

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
- [Incremental compilation](./queries/incremental-compilation.md)
6060
- [Incremental compilation In Detail](./queries/incremental-compilation-in-detail.md)
6161
- [Debugging and Testing](./incrcomp-debugging.md)
62-
- [Profiling Queries](./queries/profiling.md)
6362
- [Salsa](./salsa.md)
6463
- [Memory Management in Rustc](./memory.md)
6564
- [Serialization in Rustc](./serialization.md)

src/queries/profiling.md

-346
This file was deleted.

src/query.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ The [Incremental Compilation in Detail][query-model] chapter gives a more
4141
in-depth description of what queries are and how they work.
4242
If you intend to write a query of your own, this is a good read.
4343

44+
[query-model]: queries/incremental-compilation-in-detail.md
45+
4446
### Invoking queries
4547

4648
To invoke a query is simple. The tcx ("type context") offers a method
@@ -288,4 +290,21 @@ rustc_queries! {
288290

289291
`rustc_queries` macro will generate an appropriate `impl` automatically.
290292

291-
[query-model]: queries/incremental-compilation-in-detail.md
293+
## External Links
294+
295+
Related design ideas, and tracking issues:
296+
297+
- Design document: [On-demand Rustc incremental design doc]
298+
- Tracking Issue: ["Red/Green" dependency tracking in compiler]
299+
300+
More discussion and issues:
301+
302+
- [GitHub issue #42633]
303+
- [Incremental Compilation Beta]
304+
- [Incremental Compilation Announcement]
305+
306+
[On-demand Rustc incremental design doc]: https://github.com/nikomatsakis/rustc-on-demand-incremental-design-doc/blob/master/0000-rustc-on-demand-and-incremental.md
307+
["Red/Green" dependency tracking in compiler]: https://github.com/rust-lang/rust/issues/42293
308+
[GitHub issue #42633]: https://github.com/rust-lang/rust/issues/42633
309+
[Incremental Compilation Beta]: https://internals.rust-lang.org/t/incremental-compilation-beta/4721
310+
[Incremental Compilation Announcement]: https://blog.rust-lang.org/2016/09/08/incremental.html

0 commit comments

Comments
 (0)