rust/src/test
Alex Crichton 201f06988f Integrate jobserver support to parallel codegen
This commit integrates the `jobserver` crate into the compiler. The crate was
previously integrated in to Cargo as part of rust-lang/cargo#4110. The purpose
here is to two-fold:

* Primarily the compiler can cooperate with Cargo on parallelism. When you run
  `cargo build -j4` then this'll make sure that the entire build process between
  Cargo/rustc won't use more than 4 cores, whereas today you'd get 4 rustc
  instances which may all try to spawn lots of threads.

* Secondarily rustc/Cargo can now integrate with a foreign GNU `make` jobserver.
  This means that if you call cargo/rustc from `make` or another
  jobserver-compatible implementation it'll use foreign parallelism settings
  instead of creating new ones locally.

As the number of parallel codegen instances in the compiler continues to grow
over time with the advent of incremental compilation it's expected that this'll
become more of a problem, so this is intended to nip concurrent concerns in the
bud by having all the tools to cooperate!

Note that while rustc has support for itself creating a jobserver it's far more
likely that rustc will always use the jobserver configured by Cargo. Cargo today
will now set a jobserver unconditionally for rustc to use.
2017-06-21 07:16:43 -07:00
..
codegen Auto merge of #39409 - pnkfelix:mir-borrowck2, r=nikomatsakis 2017-06-19 13:01:27 +00:00
codegen-units Move Fn to module. 2017-06-09 19:07:25 -04:00
compile-fail Integrate jobserver support to parallel codegen 2017-06-21 07:16:43 -07:00
compile-fail-fulldeps Integrate jobserver support to parallel codegen 2017-06-21 07:16:43 -07:00
debuginfo Pretty-printers tests: gdbr -> gdb 2017-06-09 18:51:28 +03:00
incremental consider closures/ty-fn-defs when making trait selection keys 2017-06-12 17:23:21 -04:00
mir-opt Update basic_assignment test to reflect small changes to codegen. 2017-06-12 13:06:42 +02:00
parse-fail Review comments 2017-06-15 08:45:24 -07:00
pretty Update pretty test for derive attributes 2017-02-05 12:22:29 +10:30
run-fail Unignore tests which work fine now. 2017-04-28 22:31:10 -06:00
run-fail-fulldeps Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
run-make Remove the in-tree flate crate 2017-06-20 07:11:29 -07:00
run-pass Integrate jobserver support to parallel codegen 2017-06-21 07:16:43 -07:00
run-pass-fulldeps Merge crate collections into alloc 2017-06-13 23:37:34 -07:00
run-pass-valgrind Removes FIXMEs related to #22405 2017-01-31 21:27:13 -05:00
rustdoc Auto merge of #42608 - ollie27:rustdoc_variant_reexport, r=QuietMisdreavus 2017-06-13 08:54:23 +00:00
ui Rollup merge of #42731 - MaloJaffre:issue-24889, r=Mark-Simulacrum 2017-06-18 10:34:13 -06:00
ui-fulldeps Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
COMPILER_TESTS.md Move COMPILER_TESTS.md out of the root directory 2017-02-25 00:13:00 -06:00