rust/src
bors c2590e6e89 Auto merge of #102535 - scottmcm:optimize-split-at-partition-point, r=thomcc
Tell LLVM that `partition_point` returns a valid fencepost

This was already done for a successful `binary_search`, but this way `partition_point` can get similar optimizations.

Demonstration that nightly can't do this optimization today, and leaves in the panicking path: <https://play.rust-lang.org/?version=nightly&mode=release&edition=2021&gist=e1074cd2faf5f68e49cffd728ded243a>

r? `@thomcc`
2022-10-02 07:11:15 +00:00
..
bootstrap Auto merge of #102558 - matthiaskrgr:rollup-0odec1c, r=matthiaskrgr 2022-10-02 01:29:36 +00:00
ci Auto merge of #101833 - jyn514:cross-compile-compiler-builtins, r=Mark-Simulacrum 2022-09-29 02:28:50 +00:00
doc Rollup merge of #101997 - cuviper:drop-legacy-pm, r=nikic 2022-09-25 22:06:38 +08:00
etc Add a niche to Duration, unix SystemTime, and non-apple Instant 2022-09-28 18:15:10 +01:00
librustdoc Rollup merge of #102525 - notriddle:notriddle/array-link, r=GuillaumeGomez,jsha 2022-10-02 03:16:39 +02:00
llvm-project@9567f08afc Update LLVM submodule 2022-09-30 16:39:32 +02:00
rustdoc-json-types Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
test Auto merge of #102535 - scottmcm:optimize-split-at-partition-point, r=thomcc 2022-10-02 07:11:15 +00:00
tools Auto merge of #102193 - ferrocene:pa-remote-test-server-improvements, r=Mark-Simulacrum 2022-10-01 22:39:59 +00:00
README.md Remove miri from the submodule list and require it for CI to pass 2022-09-21 15:35:53 +00:00
stage0.json bump stage0 2022-09-26 10:13:46 +02:00
version bump version to 1.66.0 2022-09-16 10:51:09 +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 cargo, etc.

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