]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #77432 - tmiasko:posix-spawn-musl, r=cuviper
authorJonas Schievink <jonasschievink@gmail.com>
Fri, 2 Oct 2020 18:27:11 +0000 (20:27 +0200)
committerGitHub <noreply@github.com>
Fri, 2 Oct 2020 18:27:11 +0000 (20:27 +0200)
commit72d275d844e426e435942dbb7f82bf5be32610fe
tree559ea93f65c4ea2a2b57b8dac64831cd356b90bc
parent1e3c7e214ab96dd2a97121e57bf6cb0111435b49
parent9845e7d5fbfd961c0299c974e701357d79af3cf8
Rollup merge of #77432 - tmiasko:posix-spawn-musl, r=cuviper

Use posix_spawn on musl targets

The posix_spawn had been available in a form suitable for use in a
Command implementation since musl 0.9.12. Use it in a preference to a
fork when possible, to benefit from CLONE_VM|CLONE_VFORK used there.
library/std/src/sys/unix/process/process_unix.rs