An implementation of the GNU make jobserver for Rust
jobserver
?jobserver
's maintainer @alexcrichton is not willing to merge [this PR] for
bug fix because it would change its interface.jobserver
's implementation uses
[std::os::unix::process::CommandExt::pre_exec
], which prevents Command::spawn
from using vfork
on unix.First, add this to your Cargo.toml
:
toml
[dependencies]
jobslot = "0.2.4"
This crate uses getrandom
v0.2.7 on windows.
If you want to use this crate in rustc, make sure to bump getrandom
to v0.2
to avoid pulling in different major versions of the same crate.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in jobslot by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.