rust/src
Josh Stone 4a1e4ea32a Fix the size of niche enums with ZST alignment
For enums with an aligned ZST variant, like `[T; 0]`, the niche layout
was not computing a sufficient size to be consistent with alignment. Now
we pad that size up to the alignment, and also make sure to only use the
niche variant's ABI when the size and alignment still match.
2022-07-30 10:45:48 -07:00
..
bootstrap Auto merge of #99715 - tmiasko:coverage-run-make, r=Mark-Simulacrum 2022-07-29 12:45:47 +00:00
ci Revert "Revert "Use ICF (identical code folding) for building rustc"" 2022-07-24 08:52:08 -07:00
doc Rollup merge of #99845 - xtexChooser:patch-1, r=GuillaumeGomez 2022-07-29 15:40:02 +09:00
etc Htmldocck: Substitute the doc channel when blessing 2022-07-26 17:38:13 +02:00
librustdoc Rollup merge of #99850 - GuillaumeGomez:clean-more-items, r=notriddle 2022-07-29 15:40:03 +09:00
llvm-project@8b6b5014fd Update llvm-project 2022-07-05 17:57:29 +02:00
rustdoc-json-types Fix rustdoc JSON inline 2022-07-16 13:39:38 +02:00
test Fix the size of niche enums with ZST alignment 2022-07-30 10:45:48 -07:00
tools Auto merge of #99660 - PrestonFrom:issue_99265, r=compiler-errors 2022-07-29 04:23:08 +00:00
README.md
stage0.json Bump to latest beta 2022-07-21 01:36:08 +00:00
version bump version to 1.64.0 2022-06-24 17:27:24 +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.