Skip to content

Commit

Permalink
Update path for try_mark_green implementation
Browse files Browse the repository at this point in the history
Updates the location of the `try_mark_green` algorithm from `compiler/rustc_middle/src/dep_graph/graph.rs` to [`compiler/rustc_middle/src/dep_graph/graph.rs`](https://github.com/rust-lang/rust/blob/stable/compiler/rustc_query_system/src/dep_graph/graph.rs#L574) .
  • Loading branch information
ghassanachi authored and tshepang committed Nov 22, 2022
1 parent 32bc13e commit 0bd5bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queries/incremental-compilation-in-detail.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ fn try_mark_green(tcx, current_node) -> bool {
}
// Note: The actual implementation can be found in
// compiler/rustc_middle/src/dep_graph/graph.rs
// compiler/rustc_query_system/src/dep_graph/graph.rs
```

By using red-green marking we can avoid the devastating cumulative effect of
Expand Down

0 comments on commit 0bd5bd1

Please sign in to comment.