rust/src
bors 3e70dfd655 Auto merge of #49956 - QuietMisdreavus:rustdoc-codegen, r=GuillaumeGomez
rustdoc: port the -C option from rustc

Blocked on https://github.com/rust-lang/rust/pull/49864. The included test won't work without those changes, so this PR includes those commits as well.

When documenting items that require certain target features, it helps to be able to force those target features into existence. Rather than include a flag just to parse those features, i instead decided to port the `-C` flag from rustc in its entirety. It takes the same parameters, because it runs through the same parsing function. This has the added benefit of being able to control the codegen of doctests as well.

One concern i have with the flag is that i set it to stable here. My rationale is that it is a direct port of functionality on rustc that is currently stable, used only in mechanisms that it is originally used for. If needed, i can set it back to be unstable.
2018-04-16 05:00:14 +00:00
..
bootstrap Rollup merge of #49922 - f-bro:zmiri, r=oli-obk 2018-04-14 15:23:37 +08:00
build_helper Run rustfmt on build_helper 2018-04-12 14:49:03 +09:00
ci Rollup merge of #49866 - Mark-Simulacrum:pr-travis-windows, r=alexcrichton 2018-04-14 15:21:39 +08:00
dlmalloc@c99638dc2e Update to most recent version of dlmalloc 2018-04-12 22:53:02 +02:00
doc Auto merge of #49956 - QuietMisdreavus:rustdoc-codegen, r=GuillaumeGomez 2018-04-16 05:00:14 +00:00
etc Auto merge of #49881 - varkor:partialord-opt, r=Manishearth 2018-04-15 03:54:15 +00:00
grammar Remove all unstable placement features 2018-04-03 11:02:34 +02:00
jemalloc@1f5a28755e
liballoc Cleanup liballoc use statements 2018-04-14 08:43:13 +09:00
liballoc_jemalloc Restore Global.oom() functionality 2018-04-12 22:53:21 +02:00
liballoc_system Rename alloc::Void to alloc::Opaque 2018-04-12 22:53:22 +02:00
libarena Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libbacktrace
libcompiler_builtins@2a2f6d96c8 Update compiler-rt with fix for 32bit iOS ARM 2018-03-27 15:32:06 +02:00
libcore Auto merge of #49884 - alexcrichton:less-unwrap, r=Mark-Simulacrum 2018-04-15 06:33:48 +00:00
libfmt_macros Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libgraphviz Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
liblibc@a7e78a78e1 Update liblibc submodule to the 0.2.40 release 2018-03-26 23:42:30 -04:00
libpanic_abort Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libpanic_unwind Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libproc_macro Rollup merge of #49734 - alexcrichton:generalize-token-stream, r=nikomatsakis 2018-04-12 03:37:12 +08:00
libprofiler_builtins Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc Auto merge of #49847 - sinkuu:save_analysis_implicit_extern, r=petrochenkov 2018-04-16 02:34:32 +00:00
librustc_allocator Rename alloc::Void to alloc::Opaque 2018-04-12 22:53:22 +02:00
librustc_apfloat Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_asan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_back Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_borrowck Avoid comparing fields by name when possible 2018-04-12 23:06:03 +03:00
librustc_const_math Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_cratesio_shim
librustc_data_structures Auto merge of #49558 - Zoxc:sync-misc, r=michaelwoerister 2018-04-12 16:22:36 +00:00
librustc_driver Rollup merge of #49913 - varkor:RegionParameterDef-InternedString, r=petrochenkov 2018-04-14 15:22:57 +08:00
librustc_errors Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_incremental Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_lint Avoid comparing fields by name when possible 2018-04-12 23:06:03 +03:00
librustc_llvm Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_lsan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_metadata Auto merge of #49847 - sinkuu:save_analysis_implicit_extern, r=petrochenkov 2018-04-16 02:34:32 +00:00
librustc_mir Auto merge of #49947 - oli-obk:turing_complete_const_eval, r=nagisa 2018-04-15 21:18:37 +00:00
librustc_msan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_passes AST/HIR: Merge field access expressions for named and numeric fields 2018-04-12 23:02:09 +03:00
librustc_platform_intrinsics Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_plugin Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_privacy Avoid comparing fields by name when possible 2018-04-12 23:06:03 +03:00
librustc_resolve Auto merge of #49847 - sinkuu:save_analysis_implicit_extern, r=petrochenkov 2018-04-16 02:34:32 +00:00
librustc_save_analysis Auto merge of #49847 - sinkuu:save_analysis_implicit_extern, r=petrochenkov 2018-04-16 02:34:32 +00:00
librustc_traits Auto merge of #49800 - ishitatsuyuki:intern-goal, r=nikomatsakis 2018-04-13 13:09:40 +00:00
librustc_trans Auto merge of #49833 - oli-obk:incremental_miri_regression, r=michaelwoerister 2018-04-15 12:32:13 +00:00
librustc_trans_utils Auto merge of #49558 - Zoxc:sync-misc, r=michaelwoerister 2018-04-12 16:22:36 +00:00
librustc_tsan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_typeck Rollup merge of #49913 - varkor:RegionParameterDef-InternedString, r=petrochenkov 2018-04-14 15:22:57 +08:00
librustdoc Auto merge of #49956 - QuietMisdreavus:rustdoc-codegen, r=GuillaumeGomez 2018-04-16 05:00:14 +00:00
libserialize Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libstd Auto merge of #49669 - SimonSapin:global-alloc, r=alexcrichton 2018-04-13 10:33:51 +00:00
libstd_unicode Mark the rest of the unicode feature flag as perma-unstable. 2018-04-12 00:13:53 +02:00
libsyntax Auto merge of #49719 - mark-i-m:no_sep, r=petrochenkov 2018-04-16 00:06:10 +00:00
libsyntax_ext Auto merge of #49881 - varkor:partialord-opt, r=Manishearth 2018-04-15 03:54:15 +00:00
libsyntax_pos Auto merge of #49371 - scottmcm:catch-wrapping, r=nikomatsakis 2018-04-12 05:38:49 +00:00
libterm Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libtest Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libunwind Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
llvm@7243155b1c Use the GlobalAlloc trait for #[global_allocator] 2018-04-12 22:53:12 +02:00
llvm-emscripten@2717444753
rtstartup
rustc Update to most recent version of dlmalloc 2018-04-12 22:53:02 +02:00
rustllvm Use the GlobalAlloc trait for #[global_allocator] 2018-04-12 22:53:12 +02:00
stdsimd@bcb720e558 update stdsimd 2018-03-21 15:43:06 -05:00
test Auto merge of #49956 - QuietMisdreavus:rustdoc-codegen, r=GuillaumeGomez 2018-04-16 05:00:14 +00:00
tools Rollup merge of #49951 - matklad:update-cargo, r=nrc 2018-04-14 15:21:10 +08:00
Cargo.lock Update Rustfmt 2018-04-14 13:33:28 +12:00
Cargo.toml Revert "create a nostd crate" 2018-04-04 22:23:33 +02:00
README.md Start moving to the rustc guide! 2018-02-23 13:20:56 -06:00
stage0.txt Bump the bootstrap compiler to 1.26.0 beta 2018-04-05 07:13:45 -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: