rust/src
Rich Kadel d4593af78f Change registered "program name" for -Cllvm-args usage messages
While debugging a codegen issue, I tried adding LLVM options with
the rustc -Cllvm-args option, and was confused by the error and usage
messaging.

The LLVM "program name" argument is set to "rustc", and command line
error messages make it look like invalid arguments are "rustc"
arguments, not LLVM.

I changed this argument so error messages and the "-help" usage feedback
is easier to understand and react to. (Clang does something similar.)
2020-08-12 16:11:17 -07:00
..
bootstrap Auto merge of #75111 - mati865:use-lld-option, r=Mark-Simulacrum 2020-08-04 05:37:44 +00:00
build_helper build: Harden env var tracking in build scripts 2020-07-22 19:51:19 +03:00
ci ci: disable fail-fast on auto-fallible 2020-08-04 11:14:28 +02:00
doc Update books 2020-08-04 16:45:19 -07:00
etc Run all tests if have no specified tests 2020-07-31 04:20:27 +00:00
librustc_apfloat
librustc_arena Rollup merge of #73378 - matthewjasper:arena-not-special, r=oli-obk 2020-06-20 14:45:00 -07:00
librustc_ast rustc_ast: More detailed docs for Attribute::check_name 2020-08-04 00:34:11 +03:00
librustc_ast_lowering Auto merge of #74963 - JohnTitor:ptn-ice, r=petrochenkov 2020-08-02 18:01:27 +00:00
librustc_ast_passes rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
librustc_ast_pretty Rollup merge of #74980 - davidtwco:issue-74745-pprust-regression-test, r=petrochenkov 2020-08-02 13:08:42 -07:00
librustc_attr rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
librustc_builtin_macros rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
librustc_codegen_llvm Change registered "program name" for -Cllvm-args usage messages 2020-08-12 16:11:17 -07:00
librustc_codegen_ssa Auto merge of #75037 - richkadel:llvm-coverage-map-gen-5.2, r=wesleywiser 2020-08-05 05:08:19 +00:00
librustc_data_structures Move from log to tracing 2020-07-31 22:38:20 +02:00
librustc_driver Remove chrono feature from tracing 2020-08-01 16:24:52 +02:00
librustc_error_codes Rollup merge of #75140 - GuillaumeGomez:cleanup-e0745, r=pickfire 2020-08-05 11:40:07 +09:00
librustc_errors Show backtrace numbers in backtrace whenever more than one is involved 2020-08-05 11:05:12 -04:00
librustc_expand rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
librustc_feature Rollup merge of #73868 - ecstatic-morse:fix-stable-version, r=jonas-schievink 2020-07-22 16:34:37 -07:00
librustc_fs_util
librustc_graphviz
librustc_hir Move from log to tracing 2020-07-31 22:38:20 +02:00
librustc_hir_pretty Remove lots of Symbol::as_str() calls. 2020-07-15 09:01:35 +10:00
librustc_incremental rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
librustc_index mir: use FiniteBitSet<u32> in polymorphization 2020-08-04 18:30:53 +01:00
librustc_infer Auto merge of #74969 - nnethercote:rm-GCX_PTR, r=Mark-Simulacrum 2020-08-03 01:50:25 +00:00
librustc_interface Remove setup_callbacks_and_run_in_default_thread_pool_with_globals(). 2020-08-05 10:42:45 +10:00
librustc_lexer Rollup merge of #73856 - pierwill:pierwill-lexer-doc, r=jonas-schievink 2020-07-06 17:45:17 -07:00
librustc_lint Rollup merge of #75083 - JohnTitor:follow-up-unused-braces, r=lcnr 2020-08-04 09:27:04 +09:00
librustc_llvm Rollup merge of #74643 - petrochenkov:noenvrerun, r=Mark-Simulacrum 2020-07-22 16:34:50 -07:00
librustc_macros Enforce the static symbol order. 2020-07-16 16:53:24 +10:00
librustc_metadata Auto merge of #75008 - eddyb:rmeta-indexed-trait-impls, r=nikomatsakis 2020-08-06 03:23:57 +00:00
librustc_middle Auto merge of #75008 - eddyb:rmeta-indexed-trait-impls, r=nikomatsakis 2020-08-06 03:23:57 +00:00
librustc_mir Auto merge of #75155 - davidtwco:polymorphization-incr-comp-optimisations, r=lcnr 2020-08-05 06:55:42 +00:00
librustc_mir_build fix typos 2020-08-02 23:20:00 +08:00
librustc_parse Auto merge of #74826 - matklad:mbe-fragment, r=petrochenkov 2020-08-02 19:48:44 +00:00
librustc_parse_format Eliminate confusing "globals" terminology. 2020-07-09 14:11:44 +10:00
librustc_passes rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
librustc_plugin_impl rustc_metadata: Make crate loading fully speculative 2020-07-18 14:06:04 +04:00
librustc_privacy Rollup merge of #75022 - cuviper:sliced-rchunk, r=lcnr 2020-08-01 17:42:18 -07:00
librustc_query_system Auto merge of #75055 - cjgillot:clean-cache, r=oli-obk 2020-08-03 03:37:33 +00:00
librustc_resolve Auto merge of #74963 - JohnTitor:ptn-ice, r=petrochenkov 2020-08-02 18:01:27 +00:00
librustc_save_analysis rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
librustc_serialize
librustc_session Rollup merge of #75059 - shengsheng:typos, r=Dylan-DPC 2020-08-02 13:08:47 -07:00
librustc_span fix typos 2020-08-02 23:20:00 +08:00
librustc_symbol_mangling Move from log to tracing 2020-07-31 22:38:20 +02:00
librustc_target Remove the --no-threads workaround for wasm targets. 2020-08-04 13:31:08 -07:00
librustc_trait_selection rustc_ast: (Nested)MetaItem::check_name -> has_name 2020-08-04 00:34:11 +03:00
librustc_traits Move from log to tracing 2020-07-31 22:38:20 +02:00
librustc_ty Move from log to tracing 2020-07-31 22:38:20 +02:00
librustc_typeck Auto merge of #75037 - richkadel:llvm-coverage-map-gen-5.2, r=wesleywiser 2020-08-05 05:08:19 +00:00
librustdoc Auto merge of #75008 - eddyb:rmeta-indexed-trait-impls, r=nikomatsakis 2020-08-06 03:23:57 +00:00
llvm-project@86b120e6f3 Update llvm-project to latest origin/rustc/10.0-2020-05-05 commit which includes LVI segfault fix 2020-07-12 18:49:14 +00:00
rustc
rustllvm Fixed coverage map issues; better aligned with LLVM APIs 2020-07-25 07:39:51 -07:00
test Change registered "program name" for -Cllvm-args usage messages 2020-08-12 16:11:17 -07:00
tools Update cargo 2020-08-04 17:08:47 -07:00
README.md Update outdated readme 2020-07-27 22:05:34 -05:00
stage0.txt Bump to 1.47 2020-07-16 19:36:49 -04:00

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

  • rustc and its tests
  • 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.