diff options
| author | bors <bors@rust-lang.org> | 2023-10-17 08:27:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-17 08:27:19 +0000 |
| commit | 347452e7e378d93e7ba29af05f022a5445e1f459 (patch) | |
| tree | bb2ebbd8504c6f7c35c8f1a6a4e0c29c908ac3e4 /compiler/rustc_errors/src/snippet.rs | |
| parent | ddef56d5dfa18f169af9db912dc8e8343797eebb (diff) | |
| parent | 3ecff1b760152191f41bb4872c02f818b80e7d10 (diff) | |
| download | rust-347452e7e378d93e7ba29af05f022a5445e1f459.tar.gz rust-347452e7e378d93e7ba29af05f022a5445e1f459.zip | |
Auto merge of #116196 - onur-ozkan:reorganize-bootstrap-sources, r=Mark-Simulacrum
reorganize/refactor bootstrap codebase Currently, bootstrap stores everything on the root path, including very large modules, which makes things very hard to scale and adds too much complexity. This PR has the following objectives: - Improving scalability. - Making bootstrap source more understandable for the new contributors(or for everyone). - Improving the development experience and making maintenance easier for the bootstrap team. The new source structure: ``` . ├── defaults │ ├── README.md │ ├── config.codegen.toml │ ├── config.compiler.toml │ ├── config.dist.toml │ ├── config.library.toml │ └── config.tools.toml ├── mk │ └── Makefile.in ├── src │ ├── bin │ │ ├── main.rs │ │ ├── rustc.rs │ │ ├── rustdoc.rs │ │ └── sccache-plus-cl.rs │ ├── core │ │ ├── build_steps │ │ │ ├── check.rs │ │ │ ├── clean.rs │ │ │ ├── compile.rs │ │ │ ├── dist.rs │ │ │ ├── doc.rs │ │ │ ├── format.rs │ │ │ ├── install.rs │ │ │ ├── llvm.rs │ │ │ ├── mod.rs │ │ │ ├── run.rs │ │ │ ├── setup.rs │ │ │ ├── suggest.rs │ │ │ ├── synthetic_targets.rs │ │ │ ├── test.rs │ │ │ ├── tool.rs │ │ │ └── toolstate.rs │ │ ├── config │ │ │ ├── config.rs │ │ │ ├── flags.rs │ │ │ └── mod.rs │ │ ├── builder.rs │ │ ├── download.rs │ │ ├── metadata.rs │ │ ├── mod.rs │ │ └── sanity.rs │ ├── tests │ │ ├── builder.rs │ │ ├── config.rs │ │ └── setup.rs │ ├── utils │ │ ├── bin_helpers.rs │ │ ├── cache.rs │ │ ├── cc_detect.rs │ │ ├── channel.rs │ │ ├── dylib.rs │ │ ├── helpers.rs │ │ ├── job.rs │ │ ├── metrics.rs │ │ ├── mod.rs │ │ ├── render_tests.rs │ │ └── tarball.rs │ └── lib.rs ├── Cargo.lock ├── Cargo.toml ├── README.md ├── bootstrap.py ├── bootstrap_test.py ├── build.rs ├── configure.py └── download-ci-llvm-stamp ``` The next step involves: - Adding more doc-comments to the bootstrap internals (although we already have a decent amount, there is space for improvement). - Breaking large modules into smaller, more manageable modules. - Significantly increasing our unit test coverage (which is currently lacking). This PR should serve as an initial step to make the tasks above much more easier. r? Mark-Simulacrum
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
