rust/src
bors 87fd70c107 Auto merge of #96803 - jyn514:faster-assemble, r=Mark-Simulacrum
Make "Assemble stage1 compiler" orders of magnitude faster

This used to take upwards of 5 seconds for me locally. I found that the culprit was copying the downloaded LLVM shared object:
```
[22:28:03] Install "/home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/ci-llvm/lib/libLLVM-14-rust-1.62.0-nightly.so" to "/home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libLLVM-14-rust-1.62.0-nightly.so"
[22:28:09]   c Sysroot { compiler: Compiler { stage: 1, host: x86_64-unknown-linux-gnu(x86_64-unknown-linux-gnu) } }
```

It turned out that `install()` used full copies unconditionally. Change it to try using a hard-link before falling back to copying.
2022-05-10 03:11:05 +00:00
..
bootstrap Auto merge of #96803 - jyn514:faster-assemble, r=Mark-Simulacrum 2022-05-10 03:11:05 +00:00
ci Auto merge of #96689 - gimbles:campfire, r=Mark-Simulacrum 2022-05-08 11:14:47 +00:00
doc Rollup merge of #96636 - GuillaumeGomez:fix-jump-to-def-regression, r=notriddle 2022-05-07 15:23:45 +02:00
etc Store all generic bounds as where predicates. 2022-04-30 13:55:13 +02:00
librustdoc Rollup merge of #96858 - notriddle:notriddle/cleanup-search-js, r=GuillaumeGomez 2022-05-09 18:45:40 +02:00
llvm-project@593484fc15 chore: Upgrade llvm-project 2022-05-09 09:39:29 +02:00
rustdoc-json-types rustdoc-json-types: implementors -> implementations 2022-03-14 00:05:11 +00:00
test Auto merge of #96715 - cjgillot:trait-alias-loop, r=compiler-errors 2022-05-10 00:40:57 +00:00
tools Auto merge of #95542 - xFrednet:rfc-2383-expect-query, r=wesleywiser 2022-05-09 00:02:55 +00:00
README.md
stage0.json bump stage0 to the latest beta 2022-04-05 22:24:32 +02:00
version bump version to 1.62.0 2022-04-04 09:21:03 +02:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.