rust/src
bors e93f342101 Auto merge of #124774 - the8472:subnanosecond-benches, r=jhpratt
Display walltime benchmarks with subnanosecond precision

With modern CPUs running at more than one cycle per nanosecond the current precision is insufficient to resolve differences worth several cycles per iteration.

Granted, walltime benchmarks often are noisy but occasionally, especially when no allocations are involved, the difference really is just a few cycles.

example results when benchmarking 1-4 serialized ADD instructions and an empty bench body

```
running 4 tests
test add  ... bench:           0.24 ns/iter (+/- 0.00)
test add2 ... bench:           0.48 ns/iter (+/- 0.01)
test add3 ... bench:           0.72 ns/iter (+/- 0.01)
test add4 ... bench:           0.96 ns/iter (+/- 0.01)
test empty ... bench:           0.24 ns/iter (+/- 0.00)
```
2024-05-10 08:59:08 +00:00
..
bootstrap Auto merge of #124774 - the8472:subnanosecond-benches, r=jhpratt 2024-05-10 08:59:08 +00:00
ci Auto merge of #124850 - dpaoliello:clang2022, r=Kobzol 2024-05-10 00:04:22 +00:00
doc Fuchsia test runner: fixup script 2024-05-07 17:29:38 +00:00
etc Implement lldb formattter for "clang encoded" enums (LLDB 18.1+) 2024-05-05 17:53:02 -07:00
librustdoc Rename Generics::params to Generics::own_params 2024-05-09 20:58:46 -04:00
llvm-project@5399a24c66 Update LLVM to 1deeee3 2024-04-17 06:28:22 +08:00
rustdoc-json-types Fix some typos in comments 2024-04-25 10:47:24 +08:00
tools Auto merge of #124961 - matthiaskrgr:rollup-1jj65p6, r=matthiaskrgr 2024-05-10 06:50:46 +00:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0.json Bump stage0 to next beta 2024-05-01 21:01:51 -04:00
version Bump version to 1.80 2024-04-27 19:03:50 -04:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

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