diff options
| author | SparrowLii <liyuan179@huawei.com> | 2022-08-26 10:32:52 +0800 |
|---|---|---|
| committer | Tshepang Mbambo <tshepang@gmail.com> | 2022-08-26 06:18:21 +0200 |
| commit | a0c49e3df575df986b404e5efbecead83d459407 (patch) | |
| tree | b0cdc5f703b227af1b099bd498b56a7e7078eb9f /src/doc/rustc-dev-guide | |
| parent | 31281ef79603badb5466d88d3ec180fd56391682 (diff) | |
| download | rust-a0c49e3df575df986b404e5efbecead83d459407.tar.gz rust-a0c49e3df575df986b404e5efbecead83d459407.zip | |
A few corrections
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/parallel-rustc.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/doc/rustc-dev-guide/src/parallel-rustc.md b/src/doc/rustc-dev-guide/src/parallel-rustc.md index b5c8f7a1f87..e93f51dbbda 100644 --- a/src/doc/rustc-dev-guide/src/parallel-rustc.md +++ b/src/doc/rustc-dev-guide/src/parallel-rustc.md @@ -73,11 +73,10 @@ can be accessed directly through `Deref::deref`. The parallel iterators provided by the [`rayon`] crate are easy ways to implement parallelism. In the current implementation of the parallel -compiler we use a custom fork of [`rayon`] to run tasks in parallel. -*(more information wanted here)* +compiler we use a custom [fork][rustc-rayon] of [`rayon`] to run tasks in parallel. -Some iterator functions are implemented in the current nightly compiler to -run loops in parallel when `parallel-compiler` is true. +Some iterator functions are implemented to run loops in parallel +when `parallel-compiler` is true. | Function(Omit `Send` and `Sync`) | Introduction | Owning Module | | ------------------------------------------------------------ | ------------------------------------------------------------ | -------------------------- | @@ -108,7 +107,7 @@ are as follows: | rustc_interface::passes::analysis | Deathness checking | Map::par_for_each_module | | rustc_interface::passes::analysis | Privacy checking | Map::par_for_each_module | | rustc_lint::late::check_crate | Run per-module lints | Map::par_for_each_module | -| rustc_typeck::check_crate | Well formed checking | Map::par_for_each_module | +| rustc_typeck::check_crate | Well-formedness checking | Map::par_for_each_module | There are still many loops that have the potential to use parallel iterators. @@ -156,6 +155,7 @@ are a bit out of date): - [This IRLO thread by alexchricton about performance][irlo1] [`rayon`]: https://crates.io/crates/rayon +[rustc-rayon]: https://github.com/rust-lang/rustc-rayon [irlo0]: https://internals.rust-lang.org/t/parallelizing-rustc-using-rayon/6606 [imlist]: https://github.com/nikomatsakis/rustc-parallelization/blob/master/interior-mutability-list.md [irlo1]: https://internals.rust-lang.org/t/help-test-parallel-rustc/11503 |
