rust/src
bors 4f49627c6f Auto merge of - erikdesjardins:coldland, r=nagisa
Mark drop calls in landing pads `cold` instead of `noinline`

Now that deferred inlining has been disabled in LLVM (), this shouldn't cause catastrophic size blowup.

I confirmed that the test cases from https://github.com/rust-lang/rust/issues/41696#issuecomment-298696944 still compile quickly (<1s) after this change. ~Although note that I wasn't able to reproduce the original issue using a recent rustc/llvm with deferred inlining enabled, so those tests may no longer be representative. I was also unable to create a modified test case that reproduced the original issue.~ (edit: I reproduced it on CI by accident--the first commit timed out on the LLVM 12 builder, because I forgot to make it conditional on LLVM version)

r? `@nagisa`
cc `@arielb1` (this effectively reverts  "mark calls in the unwind path as !noinline")
cc `@RalfJung` (fixes )

edit: also fixes 
2022-01-01 13:28:13 +00:00
..
bootstrap Rollup merge of - worldeva:bootstrap-locking, r=Mark-Simulacrum 2022-01-01 10:48:53 +01:00
build_helper
ci Rollup merge of - GuillaumeGomez:fix-mobile-toggles, r=jsha 2021-12-31 23:14:49 +01:00
doc Auto merge of - Jmc18134:hint-space-pauth-opt, r=nagisa 2021-12-29 22:35:11 +00:00
etc
librustdoc Rollup merge of - GuillaumeGomez:fix-mobile-toggles, r=jsha 2021-12-31 23:14:49 +01:00
llvm-project@6b3dbcc81a Backport LLVM changes to disable deferred inlining 2021-12-19 23:49:03 +02:00
rustdoc-json-types
test Auto merge of - erikdesjardins:coldland, r=nagisa 2022-01-01 13:28:13 +00:00
tools Make tidy check for magic numbers that spell things 2021-12-31 21:13:07 -08:00
README.md
stage0.json
version

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.