diff options
| author | Josh Stone <jistone@redhat.com> | 2019-02-13 12:20:23 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2019-02-13 12:20:23 -0800 |
| commit | a301655c8aed20e5cea9a062663820fc29c5e80c (patch) | |
| tree | 9497fbbd2baab5c9ff60c8338d3a8b14bbe65fb7 /src/rustllvm/RustWrapper.cpp | |
| parent | 0f949c2fcc696d0260a99196d5e5400c59a26a54 (diff) | |
| download | rust-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
