rust/src
bors 87b0c9036f Auto merge of #60387 - Goirad:test-expansion, r=ollie27
Allow cross-compiling doctests

This PR allows doctest to receive a --runtool argument, as well as possibly many --runtool-arg arguments, which are then used to run cross compiled doctests.
Also, functionality has been added to rustdoc to allow it to skip testing doctests on a per-target basis, in the same way that compiletest does it. For example, tagging the doctest with "ignore-sgx" disables testing on any targets that contain "sgx". A plain "ignore" still skips testing on all targets.

See [here](https://github.com/rust-lang/cargo/pull/6892) for the companion PR in the cargo project that extends functionality in Cargo so that it passes the appropriate parameters to rustdoc when cross compiling and testing doctests.

Part of [#6460](https://github.com/rust-lang/cargo/issues/6460)
2019-09-10 12:19:41 +00:00
..
bootstrap check git in bootstrap.py when trying to update submodule 2019-09-09 22:28:57 +08:00
build_helper rustbuild: allow disabling deny(warnings) for bootstrap 2019-08-27 17:26:54 +02:00
ci Auto merge of #63521 - newpavlov:redox_builder, r=pietroalbini 2019-08-23 08:58:24 +00:00
doc Auto merge of #60387 - Goirad:test-expansion, r=ollie27 2019-09-10 12:19:41 +00:00
etc std: Remove the `wasm_syscall` feature 2019-08-28 08:34:31 -07:00
grammar
liballoc Rollup merge of #63684 - GrayJack:const_list_new, r=Centril 2019-08-30 23:08:01 +02:00
libarena
libcore Auto merge of #64313 - Centril:rollup-7w8b67g, r=Centril 2019-09-09 16:33:43 +00:00
libfmt_macros flatten rustc_lexer::character_properties module 2019-09-04 15:13:29 +03:00
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro proc_macro: Turn `quote` into a regular built-in macro 2019-08-27 00:37:13 +03:00
libprofiler_builtins
librustc Rollup merge of #63468 - c410-f3r:attrs, r=petrochenkov 2019-09-09 17:42:23 +02:00
librustc_apfloat rustc_apfloat: make the crate #![no_std] explicitly. 2019-08-28 11:24:04 +03:00
librustc_asan Better way of conditioning the sanitizer builds 2019-09-05 00:14:09 -07:00
librustc_ast_borrowck Aggregation of cosmetic changes made during work on REPL PRs: librustc 2019-09-07 16:27:19 +01:00
librustc_codegen_llvm Rollup merge of #64139 - Mark-Simulacrum:strip-legacy-proc-macro, r=petrochenkov 2019-09-07 20:01:44 +02:00
librustc_codegen_ssa Rollup merge of #64139 - Mark-Simulacrum:strip-legacy-proc-macro, r=petrochenkov 2019-09-07 20:01:44 +02:00
librustc_codegen_utils Remove rustc_diagnostic_macros feature 2019-09-05 12:35:18 -04:00
librustc_data_structures Rollup merge of #62744 - llogiq:tiny-list-refactor, r=eddyb 2019-08-25 02:44:58 +02:00
librustc_driver Rollup merge of #64235 - mati865:env_logger, r=alexcrichton 2019-09-07 20:01:48 +02:00
librustc_errors Dedent macro definition 2019-09-08 23:01:43 +05:30
librustc_fs_util
librustc_incremental Upgrade rand to 0.7 2019-09-06 14:45:28 +02:00
librustc_interface Rollup merge of #64139 - Mark-Simulacrum:strip-legacy-proc-macro, r=petrochenkov 2019-09-07 20:01:44 +02:00
librustc_lexer fill metadata in rustc_lexer's Cargo.toml 2019-09-05 23:03:50 +03:00
librustc_lint Rollup merge of #64066 - petrochenkov:softstab, r=matthewjasper 2019-09-08 00:07:31 +02:00
librustc_llvm fix a few typos in comments 2019-09-04 23:25:51 +08:00
librustc_lsan Better way of conditioning the sanitizer builds 2019-09-05 00:14:09 -07:00
librustc_macros Handle cfg(bootstrap) throughout 2019-08-14 05:39:53 -04:00
librustc_metadata Improve wording. 2019-09-08 09:41:59 +08:00
librustc_mir Auto merge of #63118 - Centril:stabilize-bind-by-move, r=matthewjasper 2019-09-09 12:46:59 +00:00
librustc_msan Better way of conditioning the sanitizer builds 2019-09-05 00:14:09 -07:00
librustc_passes Dont use gate bind_by_move_pattern_guards internally. 2019-09-08 01:27:10 +02:00
librustc_plugin Remove rustc_diagnostic_macros feature 2019-09-05 12:35:18 -04:00
librustc_privacy Remove rustc_diagnostic_macros feature 2019-09-05 12:35:18 -04:00
librustc_resolve Rollup merge of #64054 - estebank:unused-import-is-to-eager, r=petrochenkov 2019-09-09 22:18:10 +02:00
librustc_save_analysis or-patterns: adjust save_analysis wrt. `process_var_decl{_multi}`. 2019-09-05 08:33:09 +02:00
librustc_target Add x86_64-linux-kernel target 2019-08-31 17:32:45 -04:00
librustc_traits
librustc_tsan Better way of conditioning the sanitizer builds 2019-09-05 00:14:09 -07:00
librustc_typeck Rollup merge of #63468 - c410-f3r:attrs, r=petrochenkov 2019-09-09 17:42:23 +02:00
librustdoc Auto merge of #60387 - Goirad:test-expansion, r=ollie27 2019-09-10 12:19:41 +00:00
libserialize Use associated_type_bounds where applicable - closes #61738 2019-08-08 22:39:15 +02:00
libstd Rollup merge of #64323 - cramertj:fuchsia-rust-backtrace-noop, r=alexcrichton 2019-09-10 06:29:50 +02:00
libsyntax Auto merge of #64313 - Centril:rollup-7w8b67g, r=Centril 2019-09-09 16:33:43 +00:00
libsyntax_ext Resolve attributes in several places 2019-09-09 09:27:15 -03:00
libsyntax_pos Support "soft" feature-gating using a lint 2019-09-07 21:37:51 +03:00
libterm bootstrap: Merge the libtest build step with libstd 2019-08-23 16:46:11 -07:00
libtest Rollup merge of #62600 - emmericp:libtest-add-show-output, r=gnzlbg 2019-08-27 08:17:48 +02:00
libunwind Rollup merge of #63595 - semarie:openbsd-sparc64, r=alexcrichton 2019-08-16 18:22:26 +02:00
llvm-emscripten@7f23313edf
llvm-project@71fe7ec06b Update LLVM submodule 2019-09-09 20:32:03 +02:00
rtstartup
rustc
rustllvm
stdarch@4791ba85e7
test Rollup merge of #64054 - estebank:unused-import-is-to-eager, r=petrochenkov 2019-09-09 22:18:10 +02:00
tools Rollup merge of #64308 - oli-obk:miri, r=oli-obk 2019-09-10 06:29:47 +02:00
README.md
stage0.txt Bump to 1.39 2019-08-13 07:16:04 -04:00

README.md

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.

There is also useful content in this README: https://github.com/rust-lang/rust/tree/master/src/librustc/infer/lexical_region_resolve.