diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-04-18 14:23:18 +0900 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2020-04-18 20:58:14 -0500 |
| commit | a97a93efa1ec82d067e2eebad7653c68eb06f3a4 (patch) | |
| tree | cc1894142bb6f49850a5038717baaaa7d10c6f6e /src/doc/rustc-dev-guide | |
| parent | 1e8b3ec0e77c488480b9bee6e870b5aa85572130 (diff) | |
| download | rust-a97a93efa1ec82d067e2eebad7653c68eb06f3a4.tar.gz rust-a97a93efa1ec82d067e2eebad7653c68eb06f3a4.zip | |
Apply suggestions from Zoxc
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/queries/incremental-compilation-in-detail.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/queries/incremental-compilation-in-detail.md b/src/doc/rustc-dev-guide/src/queries/incremental-compilation-in-detail.md index 25db154fb90..d8716acdfff 100644 --- a/src/doc/rustc-dev-guide/src/queries/incremental-compilation-in-detail.md +++ b/src/doc/rustc-dev-guide/src/queries/incremental-compilation-in-detail.md @@ -413,8 +413,8 @@ respect to incremental compilation: even try to mark the query's dep-node as green. This attribute has two use cases: - - Queries that are **inputs** to the system must be marked as `eval_always` - since we have no other way of checking whether their value has changed. + - `eval_always` queries can read inputs (from files, global state, etc). + They can also produce side effects like writing to files and changing global state. - Some queries are very likely to be re-evaluated because their result depends on the entire source code. In this case `eval_always` can be used |
