granite-rust/src
bors 6cfc603395 Auto merge of #55515 - QuietMisdreavus:rustdoc-config, r=GuillaumeGomez
rustdoc: refactor: centralize all command-line argument parsing

This is something i've wanted to do for a while, since we keep having to add new arguments to places like `rust_input` or `core::run_core` whenever we add a new CLI flag or the like. Those functions have inflated up to 11-19, and in some cases hiding away the locations where some CLI flags were being parsed, obscuring their use. Now, we have a central place where all command-line configuration occurs, including argument validation.

One note about the design: i grouped together all the arguments that `html::render::run` needed, so that i could pass them on from compilation in one lump instead of trying to thread through individual items or clone the entire blob ahead of time.

One other thing this adds is that rustdoc also now recognizes all the `-Z` options that rustc does, since we were manually grabbing a few previously. Now we parse a full `DebuggingOptions` struct and hand it directly to rustc when scraping docs.
2018-11-05 09:48:46 +00:00
..
bootstrap Move a few more tests into the appveyor-subset-2. 2018-11-04 02:33:38 +08:00
build_helper Prefer unwrap_or_else to unwrap_or in case of function calls/allocations 2018-10-19 09:45:45 +02:00
ci Use jemalloc-sys on Linux and OSX compilers 2018-11-02 06:52:56 -07:00
dlmalloc@c99638dc2e
doc Added section to Unstable Book. 2018-11-03 04:09:34 +00:00
etc Rollup merge of #55447 - frewsxcv:frewsxcv-rename, r=Mark-Simulacrum 2018-10-29 09:47:52 +01:00
grammar
liballoc Auto merge of #55238 - alexcrichton:rm-jemalloc, r=estebank 2018-11-03 09:33:10 +00:00
liballoc_system std: Synchronize global allocator on wasm32 2018-10-09 23:35:45 -07:00
libarena Update TypedArena tests 2018-10-19 14:34:44 +02:00
libbacktrace@f4d02bbdbf
libcompiler_builtins@939cbca6e9 Update compiler-builtins submodule 2018-10-30 10:51:55 -07:00
libcore update DispatchFromDyn doctest 2018-11-01 18:16:59 -04:00
libfmt_macros remove padding from multiline format string label 2018-10-03 14:29:39 -04:00
libgraphviz Remove graphviz::IntoCow 2018-10-05 14:16:10 +02:00
liblibc@1844a772b6
libpanic_abort wasm: Explicitly export all symbols with LLD 2018-10-02 13:49:51 -07:00
libpanic_unwind Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
libproc_macro All proc_macro_span APIs tracked at #54725 now 2018-10-01 12:15:35 -07:00
libprofiler_builtins Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc rustc_target: pass contexts by reference, not value. 2018-11-04 20:33:57 +02:00
librustc_allocator Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_apfloat Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_asan Rollup merge of #54681 - alexcrichton:san-names, r=kennytm 2018-10-01 16:13:04 +08:00
librustc_borrowck Remove ReCanonical in favor of ReLateBound 2018-11-03 11:41:55 +01:00
librustc_codegen_llvm Auto merge of #55593 - nikic:remove-llvm-4-checks, r=rkruppe 2018-11-05 01:41:55 +00:00
librustc_codegen_utils Remove rustc_metadata_utils, which contains only one function 2018-11-03 14:31:09 +01:00
librustc_cratesio_shim Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_data_structures Bump nightly to 1.32.0 2018-10-31 11:53:50 -07:00
librustc_driver Auto merge of #55330 - scalexm:bound-ty, r=nikomatsakis 2018-11-03 12:11:23 +00:00
librustc_errors Pass suggestions as impl Iterator instead of Vec 2018-10-31 13:56:20 +01:00
librustc_fs_util
librustc_incremental Prefer Default::default over FxHash*::default in struct constructors 2018-10-19 14:34:44 +02:00
librustc_lint Auto merge of #55569 - durka:must-use-external-macro, r=alexcrichton 2018-11-04 22:56:23 +00:00
librustc_llvm Revert "rustc: Fix (again) simd vectors by-val in ABI" 2018-10-23 00:59:14 -07:00
librustc_lsan Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_metadata Auto merge of #55349 - bjorn3:rustc_mir_collect_and_partition_mono_items, r=oli-obk 2018-11-04 12:20:55 +00:00
librustc_mir rustc_target: pass contexts by reference, not value. 2018-11-04 20:33:57 +02:00
librustc_msan Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_passes Extended elaboration for trait aliases to include arbitrary bounds. 2018-11-03 04:09:34 +00:00
librustc_platform_intrinsics Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_plugin Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
librustc_privacy Deprecate the FxHashMap() and FxHashSet() constructor function hack 2018-10-19 14:34:44 +02:00
librustc_resolve Auto merge of #55569 - durka:must-use-external-macro, r=alexcrichton 2018-11-04 22:56:23 +00:00
librustc_save_analysis save analysis: don't dump macro refs 2018-10-31 13:29:02 +13:00
librustc_target rustc_target: pass contexts by reference, not value. 2018-11-04 20:33:57 +02:00
librustc_traits Rename Binder::no_late_bound_regions to Binder::no_bound_vars 2018-11-03 11:41:55 +01:00
librustc_tsan Rollup merge of #54681 - alexcrichton:san-names, r=kennytm 2018-10-01 16:13:04 +08:00
librustc_typeck Auto merge of #55101 - alexreg:trait-aliases, r=nikomatsakis 2018-11-03 17:30:37 +00:00
librustdoc Auto merge of #55515 - QuietMisdreavus:rustdoc-config, r=GuillaumeGomez 2018-11-05 09:48:46 +00:00
libserialize Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
libstd Remove all jemalloc-related content 2018-11-02 06:52:56 -07:00
libsyntax Auto merge of #55455 - estebank:expected-descr, r=michaelwoerister 2018-11-04 06:56:11 +00:00
libsyntax_ext syntax: improve a few allocations 2018-10-31 16:58:51 +01:00
libsyntax_pos Rename other occs of (Code/File)Map to Source(Map/File) #51574 2018-10-29 21:26:13 +01:00
libterm Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
libtest add option to libtest to run all tests 2018-10-14 00:58:17 +02:00
libunwind Bump to 1.31.0 and bootstrap from 1.30 beta 2018-09-27 20:52:53 -07:00
llvm@7051ead40a Fix DWARF generation for enums 2018-10-30 12:06:07 -06:00
llvm-emscripten@2717444753
rtstartup
rustc Use jemalloc-sys on Linux and OSX compilers 2018-11-02 06:52:56 -07:00
rustllvm Remove checks for LLVM < 4.0 2018-11-01 21:09:02 +01:00
stdsimd@431766a3fb Update stdsimd submodule 2018-10-23 09:51:02 -07:00
test Auto merge of #55515 - QuietMisdreavus:rustdoc-config, r=GuillaumeGomez 2018-11-05 09:48:46 +00:00
tools submodules: update clippy from 71ec4ff6 to d8b42690 2018-11-04 23:49:42 +01:00
.gitignore
Cargo.lock Remove rustc_metadata_utils, which contains only one function 2018-11-03 14:31:09 +01:00
Cargo.toml Use rls-data 0.18.1 2018-09-28 01:54:01 +02:00
README.md
stage0.txt Bump nightly to 1.32.0 2018-10-31 11:53:50 -07: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.

Their is also useful content in the following READMEs, which are gradually being moved over to the guide: