diff options
| author | kennytm <kennytm@gmail.com> | 2017-12-02 01:38:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-02 01:38:54 +0800 |
| commit | 9493d4b95c55a4ed502751170a0d86f9b5e305d8 (patch) | |
| tree | a497deded4ebcae8e3697af1f6d076df96b9976f /src/rustllvm/RustWrapper.cpp | |
| parent | 263eb4d7ef221e075102c76d85bd7b0d874457b2 (diff) | |
| parent | ccef9696f13b39b619f7b12d770a2908cc2ecdd3 (diff) | |
| download | rust-9493d4b95c55a4ed502751170a0d86f9b5e305d8.tar.gz rust-9493d4b95c55a4ed502751170a0d86f9b5e305d8.zip | |
Rollup merge of #46373 - jakllsch:netbsd-kern_proc_pathname, r=kennytm
NetBSD: add sysctl backend for std::env::current_exe Use the CTL_KERN.KERN_PROC_ARGS.-1.KERN_PROC_PATHNAME sysctl in preference over the /proc/curproc/exe symlink. Additionally, perform more validation of aformentioned symlink. Particularly on pre-8.x NetBSD this symlink will point to '/' when accurate information is unavailable.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
