rust/src
bors 89e0576bd3 Auto merge of #106340 - saethlin:propagate-operands, r=oli-obk
Always permit ConstProp to exploit arithmetic identities

Fixes https://github.com/rust-lang/rust/issues/72751

Initially, I thought I would need to enable operand propagation then do something else, but actually https://github.com/rust-lang/rust/pull/74491 already has the fix for the issue in question! It looks like this optimization was put under MIR opt level 3 due to possible soundness/stability implications, then demoted further to MIR opt level 4 when MIR opt level 2 became associated with `--release`.

Perhaps in the past we were doing CTFE on optimized MIR? We aren't anymore, so this optimization has no stability implications.

r? `@oli-obk`
2023-01-09 11:59:51 +00:00
..
bootstrap Rollup merge of #106457 - kadiwa4:no-bless, r=Mark-Simulacrum 2023-01-08 17:01:47 +09:00
ci Update browser-ui-test version 2023-01-06 15:55:36 +01:00
doc Add vendor to Fuchsia's target triple 2023-01-05 09:34:22 -05:00
etc adjust comments about pre-push.sh hook 2023-01-04 18:15:43 +01:00
librustdoc Rollup merge of #106556 - notriddle:notriddle/margin-left-content-mobile, r=GuillaumeGomez 2023-01-07 20:43:23 +01:00
llvm-project@9ad24035fe Update LLVM submodule 2023-01-03 12:08:02 +01:00
rustdoc-json-types Rustdoc-Json: Report discriminant on all kinds of enum variant. 2023-01-01 19:48:26 +00:00
test Auto merge of #106340 - saethlin:propagate-operands, r=oli-obk 2023-01-09 11:59:51 +00:00
tools Rollup merge of #106602 - GuillaumeGomez:tidy-goml-scripts, r=Mark-Simulacrum 2023-01-08 19:57:56 -08:00
README.md
stage0.json bump stage0 2022-12-28 09:18:43 -05:00
version bump version to 1.68 2022-12-09 17:49:45 +01: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.