mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
eb6b6a877e
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.