rust/src
Tom Tromey 37097fb4f7 Let compiletest recognize gdb 10.x
git gdb has moved to version 10.  My build prints this as its
--version:

    GNU gdb (GDB) 10.0.50.20200420-git

Unfortunately this conflicts with this comment in compiletest:

    // We limit major to 1 digit, otherwise, on openSUSE, we parse the openSUSE version

This patch changes the version parsing to follow the GNU coding
standard, which accounts for both the openSUSE case as well as
handling gdb 10.

My debuginfo test run now says:

NOTE: compiletest thinks it is using GDB with native rust support
NOTE: compiletest thinks it is using GDB version 10000050

... where previously it failed to find that gdb 10 had rust support.
2020-04-22 07:54:33 -06:00
..
bootstrap Rollup merge of #71346 - mati865:rustbuild-tools, r=Mark-Simulacrum 2020-04-21 00:30:58 +02:00
build_helper
ci Update the minimum external LLVM to 8 2020-04-14 12:44:41 -07:00
doc Disallow values for -C no-* and -Z no-* options again. 2020-04-19 20:05:23 +10:00
etc Enforce Python 3 as much as possible 2020-04-10 09:09:58 -04:00
liballoc Rollup merge of #71107 - vorner:weak-into-raw-dangling, r=Amanieu 2020-04-19 15:12:36 +02:00
libarena separate out an arena for HIR 2020-03-21 22:18:57 +01:00
libcore Rollup merge of #69362 - CAD97:alloc_layout_extras, r=Amanieu 2020-04-21 00:30:53 +02:00
libfmt_macros Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
libgraphviz
libpanic_abort
libpanic_unwind Make panic unwind the default for aarch64-*-windows-msvc targets 2020-04-03 09:41:58 -07:00
libproc_macro introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
libprofiler_builtins Require compiler-rt root at ../src/llvm-project/compiler-rt 2020-04-11 17:49:16 -04:00
librustc_apfloat Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_ast Rollup merge of #71284 - JOE1994:serialize_id, r=petrochenkov 2020-04-20 18:07:09 +02:00
librustc_ast_lowering Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_ast_passes allow const generics in const fn 2020-04-13 22:37:20 +02:00
librustc_ast_pretty Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_attr rustc -> rustc_middle part 2 2020-03-30 07:16:56 +02:00
librustc_builtin_macros Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_codegen_llvm Auto merge of #71267 - pnkfelix:issue-71248-dont-need-exports-all-green, r=nagisa 2020-04-21 04:35:17 +00:00
librustc_codegen_ssa Auto merge of #70729 - nnethercote:a-big-options-clean-up, r=petrochenkov 2020-04-20 12:30:45 +00:00
librustc_data_structures Move MapInPlace to rustc_data_structures 2020-04-18 13:02:33 +09:00
librustc_driver Make option type descriptions non-optional. 2020-04-19 19:53:54 +10:00
librustc_error_codes Rollup merge of #71174 - Nokel81:fix-async-main-error, r=petrochenkov 2020-04-21 00:30:55 +02:00
librustc_errors don't clone types that are copy (clippy::clone_on_copy) 2020-04-16 00:17:38 +02:00
librustc_expand Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_feature #[link]: mention wasm_import_module instead of cfg 2020-03-29 17:40:04 +02:00
librustc_fs_util
librustc_hir Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_hir_pretty Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_incremental rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
librustc_index Use assoc integer constants in librustc_* 2020-04-07 00:43:16 +02:00
librustc_infer Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_interface Replace uses of parse_opt_* with parse_* where possible. 2020-04-19 19:53:54 +10:00
librustc_lexer Handle unterminated raw strings with no #s properly 2020-04-02 01:02:55 -04:00
librustc_lint Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_llvm Don't emit rerun-if-changed on llvm-config if using system LLVM 2020-04-11 17:49:16 -04:00
librustc_macros Rollup merge of #70081 - lcnr:issue68387, r=varkor 2020-04-01 00:27:20 +02:00
librustc_metadata Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_middle Auto merge of #70729 - nnethercote:a-big-options-clean-up, r=petrochenkov 2020-04-20 12:30:45 +00:00
librustc_mir Rollup merge of #71285 - ljedrz:mir_inline_span_for_optimized_mir, r=ecstatic-morse 2020-04-21 00:30:57 +02:00
librustc_mir_build Auto merge of #71170 - spastorino:dyn-fnonce-alignment, r=nikomatsakis 2020-04-21 08:58:44 +00:00
librustc_parse Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_passes Auto merge of #71331 - Dylan-DPC:rollup-5rn1isc, r=Dylan-DPC 2020-04-19 19:53:42 +00:00
librustc_plugin_impl rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00
librustc_privacy Do not use DUMMY_HIR_ID as placeholder value in node_id_to_hir_id table 2020-04-14 08:46:07 +01:00
librustc_query_system Auto merge of #71007 - Amanieu:deprecate_asm, r=Mark-Simulacrum 2020-04-20 02:18:00 +00:00
librustc_resolve Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_save_analysis Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_session Auto merge of #70729 - nnethercote:a-big-options-clean-up, r=petrochenkov 2020-04-20 12:30:45 +00:00
librustc_span Auto merge of #70831 - sfackler:shrink-future-stack, r=matthewjasper 2020-04-16 09:13:07 +00:00
librustc_symbol_mangling Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_target rustc_target::abi: add Primitive variant to FieldsShape. 2020-04-16 15:15:51 +00:00
librustc_trait_selection Rollup merge of #71174 - Nokel81:fix-async-main-error, r=petrochenkov 2020-04-21 00:30:55 +02:00
librustc_traits Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_ty Adjust mir-opt test and make it drop something 2020-04-17 20:36:46 +02:00
librustc_typeck Rollup merge of #71174 - Nokel81:fix-async-main-error, r=petrochenkov 2020-04-21 00:30:55 +02:00
librustdoc Rollup merge of #71250 - GuillaumeGomez:use-json-instead-of-js, r=kinnison 2020-04-20 18:07:05 +02:00
libserialize Use assoc integer constants in libserialize 2020-04-07 00:43:15 +02:00
libstd Rollup merge of #71328 - Mark-Simulacrum:stabilize-pathbuf-capacity, r=sfackler 2020-04-20 18:07:11 +02:00
libterm
libtest Add illumos triple 2020-04-14 20:36:07 +00:00
libunwind Add illumos triple 2020-04-14 20:36:07 +00:00
llvm-project@9f9da27fbd Update LLVM submodule fixing sanitizers build with glibc 2.31 2020-04-07 18:00:02 +02:00
rtstartup
rustc
rustllvm Update the minimum external LLVM to 8 2020-04-14 12:44:41 -07:00
stdarch@b00ecbeb26 Update stdarch submodule to use llvm_asm! instead of asm! 2020-04-15 17:46:29 +01:00
test Auto merge of #71170 - spastorino:dyn-fnonce-alignment, r=nikomatsakis 2020-04-21 08:58:44 +00:00
tools Let compiletest recognize gdb 10.x 2020-04-22 07:54:33 -06: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 dev guide.