diff options
| author | David Koloski <dkoloski@google.com> | 2022-04-18 18:22:32 -0400 |
|---|---|---|
| committer | David Koloski <dkoloski@google.com> | 2022-04-19 16:50:24 -0400 |
| commit | eb6b6a877efe765c77700a30cd45f5b1e6365d62 (patch) | |
| tree | cb145412311315434564d4193c207753850b162b /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 8305398d7ae6128811ec2b3223939bcd067530c2 (diff) | |
| download | rust-eb6b6a877efe765c77700a30cd45f5b1e6365d62.tar.gz rust-eb6b6a877efe765c77700a30cd45f5b1e6365d62.zip | |
[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
