rust/src
Matthias Krüger 67762ffe35
Rollup merge of #90833 - tmiasko:optimization-remarks, r=nikic
Emit LLVM optimization remarks when enabled with `-Cremark`

The default diagnostic handler considers all remarks to be disabled by
default unless configured otherwise through LLVM internal flags:
`-pass-remarks`, `-pass-remarks-missed`, and `-pass-remarks-analysis`.
This behaviour makes `-Cremark` ineffective on its own.

Fix this by configuring a custom diagnostic handler that enables
optimization remarks based on the value of `-Cremark` option. With
`-Cremark=all` enabling all remarks.

Fixes #90924.

r? `@nikic`
2021-11-28 23:45:17 +01:00
..
bootstrap Fix bug where submodules wouldn't be updated when running x.py from a subdirectory 2021-11-26 09:56:01 -05:00
build_helper Migrate to 2021 2021-09-20 22:21:42 -04:00
ci Update browser-ui-test version to enforce that text is displayed before checking colors 2021-11-25 14:48:14 +01:00
doc Remove --display-doctest-warnings 2021-11-26 16:18:16 -05:00
etc Encode json files with UTF-8 2021-09-30 00:11:14 +09:00
librustdoc Auto merge of #91230 - eggyal:fallible-type-fold, r=jackh726 2021-11-28 13:04:27 +00:00
llvm-project@f9b03d0e2d Update llvm submodule 2021-11-16 16:49:16 +00:00
rustdoc-json-types Moved format-version constant to rustdoc-json-types 2021-10-15 12:27:42 +03:00
test Rollup merge of #90833 - tmiasko:optimization-remarks, r=nikic 2021-11-28 23:45:17 +01:00
tools Only check for errors in predicate when skipping impl assembly 2021-11-27 11:33:55 -06:00
README.md
stage0.json bump boostrap compiler 2021-10-23 21:55:57 -04:00
version Bump to 1.59 2021-11-26 14:53:55 -05: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.