about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-21 01:14:14 +0200
committerGitHub <noreply@github.com>2022-04-21 01:14:14 +0200
commit1e43aae0ef1dfb4d5ec470990dfedda201ad18ad (patch)
tree107335317bfcd0edc2a8a553b66d5518d39deef5 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent976c6b2d193148ca9df3a505e55c5ba5da22cd96 (diff)
parenteb6b6a877efe765c77700a30cd45f5b1e6365d62 (diff)
downloadrust-1e43aae0ef1dfb4d5ec470990dfedda201ad18ad.tar.gz
rust-1e43aae0ef1dfb4d5ec470990dfedda201ad18ad.zip
Rollup merge of #96193 - djkoloski:fuchsia_current_exe, r=tmandry
[fuchsia] Add implementation for `current_exe`

This implementation returns a best attempt at the current exe path. On
fuchsia, fdio will always use `argv[0]` as the process name and if it is
not set then an error will be returned. Because this is not guaranteed
to be the case, this implementation returns an error if `argv` does not
contain any elements.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions