rust/src
bors 8a87b945b2 Auto merge of #67711 - Amanieu:fix_unwind_leak, r=alexcrichton
Fix memory leak if C++ catches a Rust panic and discards it

If C++ catches a Rust panic using `catch (...)` and then chooses not to rethrow it, the `Box<dyn Any>` in the exception may be leaked. This PR fixes this by adding the necessary destructors to the exception object.

r? @Mark-Simulacrum
2020-01-14 15:29:43 +00:00
..
bootstrap Tweak assertion note in fmt 2020-01-14 07:09:15 +09:00
build_helper
ci Auto merge of #67831 - mati865:ci-images-upgrade, r=pietroalbini 2020-01-12 14:52:48 +00:00
doc
etc
liballoc
libarena
libcore
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind Fix destructor in emcc.rs 2020-01-13 12:54:16 +00:00
libproc_macro
libprofiler_builtins
librustc Auto merge of #67901 - matthewjasper:split-mir-build, r=nagisa 2020-01-12 09:44:55 +00:00
librustc_apfloat
librustc_ast_lowering Rollup merge of #68143 - skinny121:const-param-type-elided-lifetime, r=petrochenkov 2020-01-14 14:02:23 +09:00
librustc_ast_passes Rollup merge of #68045 - Centril:liberate-lints, r=Mark-Simulacrum 2020-01-12 03:27:59 +01:00
librustc_builtin_macros
librustc_codegen_llvm Auto merge of #67711 - Amanieu:fix_unwind_leak, r=alexcrichton 2020-01-14 15:29:43 +00:00
librustc_codegen_ssa
librustc_codegen_utils
librustc_data_structures Rollup merge of #67948 - llogiq:gallop, r=Mark-Simulacrum 2020-01-12 03:27:57 +01:00
librustc_driver
librustc_error_codes Rollup merge of #68176 - GuillaumeGomez:clean-up-err-codes, r=Dylan-DPC 2020-01-14 14:02:28 +09:00
librustc_errors
librustc_expand
librustc_feature Fix crate paths in comments 2020-01-13 01:07:43 +09:00
librustc_fs_util
librustc_hir
librustc_incremental
librustc_index
librustc_interface Auto merge of #67901 - matthewjasper:split-mir-build, r=nagisa 2020-01-12 09:44:55 +00:00
librustc_lexer
librustc_lint Rollup merge of #67854 - afnanenayet:afnan/report-external-macro-lints, r=petrochenkov 2020-01-14 14:02:16 +09:00
librustc_llvm
librustc_macros
librustc_metadata
librustc_mir Auto merge of #68088 - oli-obk:fix_miri, r=RalfJung 2020-01-13 17:39:01 +00:00
librustc_mir_build Split rustc_mir::{build, hair, lints} into their own crate 2020-01-12 09:39:26 +00:00
librustc_parse Rollup merge of #68135 - calebcartwright:rustc-parse-visibilities, r=Centril 2020-01-13 16:44:18 +09:00
librustc_passes
librustc_plugin_impl
librustc_privacy
librustc_resolve
librustc_save_analysis
librustc_session
librustc_span Use report_in_external_macro for internal lints 2020-01-12 23:21:02 -08:00
librustc_target Auto merge of #67900 - nikic:prepare-llvm-10, r=nagisa 2020-01-13 04:01:00 +00:00
librustc_traits
librustc_typeck
librustdoc Rollup merge of #68179 - JohnTitor:nll-scope, r=varkor 2020-01-14 14:02:29 +09:00
libserialize
libstd Auto merge of #67711 - Amanieu:fix_unwind_leak, r=alexcrichton 2020-01-14 15:29:43 +00:00
libsyntax
libterm
libtest
libunwind
llvm-project@9330ec5a4c
rtstartup
rustc
rustllvm
stdarch@e0ab2c165a
test Auto merge of #67711 - Amanieu:fix_unwind_leak, r=alexcrichton 2020-01-14 15:29:43 +00:00
tools Update Clippy 2020-01-13 23:45:20 +09:00
README.md
stage0.txt

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc guide.