about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-02-13 12:20:23 -0800
committerJosh Stone <jistone@redhat.com>2019-02-13 12:20:23 -0800
commita301655c8aed20e5cea9a062663820fc29c5e80c (patch)
tree9497fbbd2baab5c9ff60c8338d3a8b14bbe65fb7 /src/rustllvm/RustWrapper.cpp
parent0f949c2fcc696d0260a99196d5e5400c59a26a54 (diff)
downloadrust-a301655c8aed20e5cea9a062663820fc29c5e80c.tar.gz
rust-a301655c8aed20e5cea9a062663820fc29c5e80c.zip
Use posix_spawn_file_actions_addchdir_np when possible
This is a non-POSIX extension implemented in Solaris and in glibc 2.29.
With this we can still use `posix_spawn()` when `Command::current_dir()`
has been set, otherwise we fallback to `fork(); chdir(); exec()`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions