rust/src
Tomasz Miąsko 6d218db26d compiletest: Simplify multi-debugger support
Previous implementation used a single mode type to store various pieces
of otherwise loosely related information:

* Whether debuginfo mode is in use or not.
* Which debuggers should run in general.
* Which debuggers are enabled for particular test case.

The new implementation introduces a separation between those aspects.
There is a single debuginfo mode parametrized by a debugger type.
The debugger detection is performed first and a separate configuration
is created for each detected debugger. The test cases are gathered
independently for each debugger which makes it trivial to implement
support for `ignore` / `only` conditions.

Functional changes:

* A single `debuginfo` entry point (rather than `debuginfo-cdb`, `debuginfo-gdb+lldb`, etc.).
* Debugger name is included in the test name.
* Test outputs are placed in per-debugger directory.
* Fixed spurious hash mismatch. Previously, the config mode would change
  from `DebugInfoGdbLldb` (when collecting tests) to `DebugInfoGdb` or
  `DebugInfoLldb` (when running them) which would affect hash computation.
* PYTHONPATH is additionally included in gdb hash.
* lldb-python and lldb-python-dir are additionally included in lldb hash.
2020-01-20 16:58:24 +01:00
..
bootstrap compiletest: Simplify multi-debugger support 2020-01-20 16:58:24 +01:00
build_helper Remove sanitizer runtime crates 2020-01-09 07:54:02 +01:00
ci Auto merge of #68037 - msizanoen1:riscv-ci, r=alexcrichton 2020-01-18 08:18:44 +00:00
doc slice_patterns: remove from unstable book 2020-01-18 19:33:47 +01:00
etc Auto merge of #67334 - estebank:ignore-triple, r=nikomatsakis 2019-12-28 23:02:09 +00:00
liballoc Auto merge of #67758 - ssomers:testing_range, r=Mark-Simulacrum 2020-01-19 04:40:21 +00:00
libarena Remove SyncTypedArena, SyncDroplessArena and in_arena 2020-01-11 07:56:45 +01:00
libcore Rollup merge of #68335 - RalfJung:drop-in-place, r=Mark-Simulacrum 2020-01-20 11:14:46 +05:30
libfmt_macros Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
libgraphviz Format the world 2019-12-22 17:42:47 -05:00
libpanic_abort Format the world 2019-12-22 17:42:47 -05:00
libpanic_unwind Fix destructor in emcc.rs 2020-01-13 12:54:16 +00:00
libproc_macro Remove unnecessary const_fn feature gates 2020-01-10 18:51:12 -08:00
libprofiler_builtins Handle changed InstrProfilingRuntime path 2020-01-07 21:28:22 +01:00
librustc Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
librustc_apfloat Format the world 2019-12-22 17:42:47 -05:00
librustc_ast_lowering remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
librustc_ast_passes Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
librustc_builtin_macros remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
librustc_codegen_llvm Auto merge of #67711 - Amanieu:fix_unwind_leak, r=alexcrichton 2020-01-14 15:29:43 +00:00
librustc_codegen_ssa Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
librustc_codegen_utils Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
librustc_data_structures Rollup merge of #68278 - wesleywiser:doc_query_key_recording, r=michaelwoerister 2020-01-17 18:53:42 +05:30
librustc_driver Rollup merge of #68252 - matthiaskrgr:redundant_clones, r=oli-obk 2020-01-15 22:49:32 +05:30
librustc_error_codes Rollup merge of #68365 - GuillaumeGomez:clean-up-err-codes-2, r=Dylan-DPC 2020-01-20 11:14:51 +05:30
librustc_errors remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
librustc_expand Rollup merge of #68084 - estebank:ice-68000, r=varkor 2020-01-11 04:02:28 +01:00
librustc_feature stabilize slice_patterns 2020-01-18 17:59:44 +01:00
librustc_fs_util Format src/librustc_fs_util. 2019-12-21 20:23:39 -05:00
librustc_hir Use named fields for hir::ItemKind::Impl 2020-01-17 16:14:29 -08:00
librustc_incremental Use named fields for hir::ItemKind::Impl 2020-01-17 16:14:29 -08:00
librustc_index Improve hygiene of newtype_index 2020-01-06 20:43:10 +00:00
librustc_interface Rollup merge of #67791 - Zoxc:lift-interning, r=eddyb 2020-01-17 18:53:41 +05:30
librustc_lexer Format the world 2019-12-22 17:42:47 -05:00
librustc_lint remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
librustc_llvm Better support for cross compilation on Windows. 2020-01-14 12:15:13 -08:00
librustc_macros Format the world 2019-12-22 17:42:47 -05:00
librustc_metadata Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
librustc_mir Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
librustc_mir_build Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
librustc_parse Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
librustc_passes Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
librustc_plugin_impl remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
librustc_privacy remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
librustc_resolve remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
librustc_save_analysis Use named fields for hir::ItemKind::Impl 2020-01-17 16:14:29 -08:00
librustc_session remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
librustc_span Do not ICE on malformed suggestion spans 2020-01-16 18:14:26 -08:00
librustc_target slice_patterns: remove internal uses of gate 2020-01-18 19:33:47 +01:00
librustc_traits Use named fields for hir::ItemKind::Impl 2020-01-17 16:14:29 -08:00
librustc_ty slice_patterns: remove internal uses of gate 2020-01-18 19:33:47 +01:00
librustc_typeck Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
librustdoc Rollup merge of #68357 - ollie27:rustdoc_test_errors, r=GuillaumeGomez 2020-01-20 11:14:49 +05:30
libserialize Deprecate Error::description for real 2019-12-24 22:39:49 -08:00
libstd Rollup merge of #68341 - fusion-engineering-forks:instant-docs, r=Dylan-DPC 2020-01-18 19:36:06 +01:00
libsyntax Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov 2020-01-20 11:14:48 +05:30
libterm parse extended terminfo format 2020-01-11 14:27:52 -05:00
libtest Rollup merge of #68301 - tmandry:dont-propagate-test-invoke, r=alexcrichton 2020-01-17 11:16:42 +05:30
libunwind Auto merge of #66899 - msizanoen1:riscv-std, r=alexcrichton 2020-01-06 19:07:42 +00:00
llvm-project@cd87134ab7 Rebase LLVM onto 9.0.1 2020-01-08 13:57:01 -08:00
rtstartup Format the world 2019-12-22 17:42:47 -05:00
rustc Remove unused dependencies 2020-01-09 11:52:03 +09:00
rustllvm Switch to using MaybeAlign APIs 2020-01-07 21:28:22 +01:00
stdarch@e0ab2c165a
test Rollup merge of #68357 - ollie27:rustdoc_test_errors, r=GuillaumeGomez 2020-01-20 11:14:49 +05:30
tools compiletest: Simplify multi-debugger support 2020-01-20 16:58:24 +01:00
README.md
stage0.txt Implement rustfmt running manually using ignore crate 2019-12-21 20:23:55 -05:00

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.