rust/src
bors e3c43e64ec Auto merge of #94255 - b-naber:use-mir-constant-in-thir, r=oli-obk
Use mir constant in thir instead of ty::Const

This is blocked on https://github.com/rust-lang/rust/pull/94059 (does include its changes, the first two commits in this PR correspond to those changes) and https://github.com/rust-lang/rust/pull/93800 being reinstated (which had to be reverted). Mainly opening since `@lcnr` offered to give some feedback and maybe also for a perf-run (if necessary).

This currently contains a lot of duplication since some of the logic of `ty::Const` had to be copied to `mir::ConstantKind`, but with the introduction of valtrees a lot of that functionality will disappear from `ty::Const`.

Only the last commit contains changes that need to be reviewed here. Did leave some `FIXME` comments regarding future implementation decisions and some things that might be incorrectly implemented.

r? `@oli-obk`
2022-04-13 07:50:56 +00:00
..
bootstrap Rollup merge of #95441 - AlecGoncharow:issue-95204-fix, r=Mark-Simulacrum 2022-04-13 05:54:11 +02:00
ci CI: do not compile libcore twice when performing LLVM PGO 2022-04-11 10:05:05 +02:00
doc fix broken link in coverage tools docs 2022-04-12 02:46:53 +03:00
etc pre-push.sh: Use python3 if python is not found 2022-04-11 12:02:40 -07:00
librustdoc Auto merge of #95990 - Dylan-DPC:rollup-r9bh9t7, r=Dylan-DPC 2022-04-13 01:15:20 +00:00
llvm-project@9168e236c5 Update to LLVM 14.0.0 final 2022-03-23 11:42:13 -07:00
rustdoc-json-types rustdoc-json-types: implementors -> implementations 2022-03-14 00:05:11 +00:00
test Rollup merge of #95989 - rust-lang:notriddle/issue-82446, r=compiler-errors 2022-04-13 05:54:13 +02:00
tools Auto merge of #94255 - b-naber:use-mir-constant-in-thir, r=oli-obk 2022-04-13 07:50:56 +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.