rust/src
bors 6f721f54c6 Auto merge of #50466 - kennytm:rustbuild-stage0-lib-test, r=Mark-Simulacrum
rustbuild: Allow quick testing of libstd and libcore at stage0

This PR implemented two features:

1. Added a `--no-doc` flag to allow testing a crate *without* doc tests. In this mode, we don't need to build rustdoc, and thus we can skip building the stage2 compiler. (Ideally stage0 test should use the bootstrap rustdoc, but I don't want to mess up the core builder logic here)

2. Moved all libcore tests externally and added a tidy test to ensure we don't accidentally add `#[test]` into libcore.

After this PR, one could run `./x.py test --stage 0 --no-doc src/libstd` to test `libstd` without building the compiler, thus enables us to quickly test new library features.
2018-05-06 06:33:53 +00:00
..
bootstrap Auto merge of #50466 - kennytm:rustbuild-stage0-lib-test, r=Mark-Simulacrum 2018-05-06 06:33:53 +00:00
build_helper Run rustfmt on build_helper 2018-04-12 14:49:03 +09:00
ci Auto merge of #50444 - michaelwoerister:check-parallel-queries-in-ci, r=alexcrichton 2018-05-05 21:09:56 +00:00
dlmalloc@c99638dc2e Update to most recent version of dlmalloc 2018-04-12 22:53:02 +02:00
doc Update books for the next release. 2018-05-05 19:02:13 -04: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 Auto merge of #49724 - kennytm:range-inc-start-end-methods, r=Kimundi 2018-05-01 10:10:46 +00:00
liballoc_jemalloc Remove Alloc::oom 2018-04-22 10:08:49 -07:00
liballoc_system Remove Alloc::oom 2018-04-22 10:08:49 -07:00
libarena Make arenas thread safe 2018-04-15 20:53:03 +02:00
libbacktrace
libcompiler_builtins@2a2f6d96c8 Update compiler-rt with fix for 32bit iOS ARM 2018-03-27 15:32:06 +02:00
libcore Added some simple documentation. 2018-05-06 03:29:19 +08: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 std: Minimize size of panicking on wasm 2018-04-13 07:03:00 -07:00
libpanic_unwind std: Minimize size of panicking on wasm 2018-04-13 07:03:00 -07:00
libproc_macro proc_macro: Explicitly make everything !Send/Sync 2018-05-04 14:12:57 -07: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 #50276 - Zoxc:build-cleanup, r=alexcrichton 2018-05-05 18:58:17 +00:00
librustc_allocator rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
librustc_apfloat Comment typo 2018-04-30 18:18:32 +02:00
librustc_asan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_borrowck Auto merge of #50418 - nnethercote:cmt, r=eddyb 2018-05-05 08:52:28 +00:00
librustc_cratesio_shim rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
librustc_data_structures Auto merge of #50240 - nnethercote:LazyBTreeMap, r=cramertj 2018-04-28 21:19:33 +00:00
librustc_driver make it compile again 2018-05-02 12:05:13 +02:00
librustc_errors Approximate -> Applicability 2018-04-25 14:55:25 -07:00
librustc_incremental make it compile again 2018-05-02 12:05:13 +02:00
librustc_lint Remove Option from the return type of Attribute::name() 2018-05-02 11:32:34 +02:00
librustc_llvm Add rerun-if-env-changed=RUST_CHECK to librustc_llvm 2018-04-19 00:09:41 +01: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 #50271 - sinkuu:fix_ice, r=eddyb 2018-04-29 03:01:09 +00:00
librustc_mir Auto merge of #50370 - nikomatsakis:nll-alias-analysis-flat, r=pnkfelix 2018-05-05 11:05:23 +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 Auto merge of #50418 - nnethercote:cmt, r=eddyb 2018-05-05 08:52:28 +00:00
librustc_platform_intrinsics Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
librustc_plugin Misc tweaks 2018-05-05 20:36:46 +02:00
librustc_privacy Avoid comparing fields by name when possible 2018-04-12 23:06:03 +03:00
librustc_resolve Auto merge of #50030 - flip1995:rfc2103, r=petrochenkov 2018-05-03 11:52:03 +00:00
librustc_save_analysis rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
librustc_target Add eabi suffix to armv5te musl target 2018-05-04 08:47:24 +02:00
librustc_traits Conservatively assume dropping a generator touches its upvars, via locals' dtors. 2018-05-01 22:28:54 +02:00
librustc_trans Auto merge of #50278 - eddyb:mir-succ-iter, r=nikomatsakis 2018-05-02 02:10:51 +00:00
librustc_trans_utils Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
librustc_tsan Inject the compiler_builtins crate whenever the core crate is injected 2018-04-07 09:24:35 +02:00
librustc_typeck Auto merge of #50418 - nnethercote:cmt, r=eddyb 2018-05-05 08:52:28 +00:00
librustdoc Auto merge of #50419 - sinkuu:rustdoc_nested_impl_trait, r=QuietMisdreavus 2018-05-05 03:36:09 +00:00
libserialize Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libstd Some final touches to ensure ./x.py test --stage 0 src/lib* works 2018-05-06 02:34:07 +08: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 #50413 - kennytm:rollup, r=kennytm 2018-05-03 20:45:54 +00:00
libsyntax_ext Auto merge of #50413 - kennytm:rollup, r=kennytm 2018-05-03 20:45:54 +00:00
libsyntax_pos Always inline simple BytePos and CharPos methods. 2018-05-03 13:25:18 +10:00
libterm Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
libtest Add rustdoc-ui test suite 2018-04-16 23:37:11 +02:00
libunwind Remove unwanted auto-linking and update 2018-04-16 23:37:11 +02:00
llvm@7243155b1c Use the GlobalAlloc trait for #[global_allocator] 2018-04-12 22:53:12 +02:00
llvm-emscripten@2717444753
rtstartup
rustc Rename rustc_back::target to rustc_target::spec. 2018-04-26 16:39:44 +03:00
rustllvm Use the GlobalAlloc trait for #[global_allocator] 2018-04-12 22:53:12 +02:00
stdsimd@1ea18a5cb4 Update stdsimd submodule 2018-04-19 23:47:28 +02:00
test Auto merge of #50276 - Zoxc:build-cleanup, r=alexcrichton 2018-05-05 18:58:17 +00:00
tools Auto merge of #50466 - kennytm:rustbuild-stage0-lib-test, r=Mark-Simulacrum 2018-05-06 06:33:53 +00:00
Cargo.lock Misc tweaks 2018-05-05 20:36:46 +02:00
Cargo.toml Set opt-level to 3 2018-05-01 09:04:36 +02:00
README.md
stage0.txt Bump bootstrap compiler to 2018-04-24 2018-04-25 15:57:33 +02: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: