]> git.lizzy.rs Git - rust.git/commit
Improve the error management when /proc is not mounted
authorSylvestre Ledru <sylvestre@debian.org>
Wed, 17 May 2017 13:14:30 +0000 (15:14 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 17 May 2017 13:14:30 +0000 (15:14 +0200)
commit1b6a182cf1e400b63ae8692e3183beabe541ea6c
tree7bf925756b10feb399a631433c71f92d394db052
parent208d23a9966a91318e59b474eb2fe7e1891a590a
Improve the error management when /proc is not mounted

This PR does two things:
* Triggers an error on GNU/Linux & Android when /proc/self/exe doesn't exist
* Handle the error properly
src/librustc/session/filesearch.rs
src/libstd/sys/unix/os.rs