about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-24 12:10:31 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-13 14:06:20 -0700
commitb1a964a9bf23c92a6b6cb5762b54e0f0f4a337d5 (patch)
tree7055bf34f4196565524721fb478b5b2bfbb1d3b5 /src/rustllvm/ExecutionEngineWrapper.cpp
parentfbeee04f31ac16fe61f29749145a29e562d065fe (diff)
downloadrust-b1a964a9bf23c92a6b6cb5762b54e0f0f4a337d5.tar.gz
rust-b1a964a9bf23c92a6b6cb5762b54e0f0f4a337d5.zip
native: Search the child's PATH on win32
In order to have the spawning semantics be the same for unix/windows, the
child's PATH environment variable needs to be searched rather than the parent's
environment variable.

If the child is inheriting the parent's PATH, then no action need be taken as
windows will do the heavy lifting. If the child specifies its own PATH, then it
is searched beforehand for the target program and the result is favored if a hit
is found.

cc #15149, but does not close the issue because libgreen still needs to be
updated.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions