rust/src/test/compile-fail-fulldeps
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
..
auxiliary Stabilize pub(restricted) 2017-03-15 22:39:04 -07:00
proc-macro Clearer Error Message for Duplicate Definition 2017-06-15 08:21:17 -07:00
derive-no-std-not-supported.rs Integrate jobserver support to parallel codegen 2017-06-21 07:16:43 -07:00
dropck_tarena_cycle_checked.rs rustc: rework stability to be on-demand for type-directed lookup. 2016-11-28 04:18:11 +02:00
dropck_tarena_unsound_drop.rs rustc: rework stability to be on-demand for type-directed lookup. 2016-11-28 04:18:11 +02:00
explore-issue-38412.rs Fix the fallout 2017-01-29 02:57:14 +03:00
gated-macro-reexports.rs [Gate Tests] - marking feature tests 2017-01-31 00:24:06 +00:00
gated-plugin.rs Unignore some tests in stage1 2015-05-13 19:58:49 -04:00
gated-quote.rs Add syntax::ext::tt::quoted::{TokenTree, ..} and remove tokenstream::TokenTree::Sequence. 2017-02-28 22:14:29 +00:00
issue-15778-fail.rs Add regression tests for #15778 2015-03-02 13:22:03 -08:00
issue-18986.rs Preparations and cleanup 2016-10-27 22:14:41 +03:00
lint-group-plugin-deny-cmdline.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
lint-plugin-deny-attr.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
lint-plugin-deny-cmdline.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
lint-plugin-forbid-attrs.rs Update E0453 to new error format 2016-08-26 07:59:20 +05:30
lint-plugin-forbid-cmdline.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
macro-crate-doesnt-resolve.rs resolve: Do not use "resolve"/"resolution" in error messages 2017-01-12 10:08:27 +03:00
macro-crate-rlib.rs Unignore some tests in stage1 2015-05-13 19:58:49 -04:00
macro-crate-unexported-macro.rs Refactor macro resolution errors + add derive macro suggestions 2017-02-16 22:03:15 +10:30
no-link-unknown-crate.rs Future proof #[no_link]. 2016-10-19 10:05:03 +00:00
plugin-as-extern-crate.rs Unignore some tests in stage1 2015-05-13 19:58:49 -04:00
plugin-attr-register-deny.rs test for register_attribute() 2015-05-07 14:58:36 +05:30
plugin-plus-extern-crate.rs Warn when linking a plugin into a non-plugin crate 2015-02-12 12:44:31 -08:00
qquote.rs Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00