Auto merge of #5179 - matklad:uplink-pdb, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 14 Mar 2018 21:49:10 +0000 (21:49 +0000)
committerbors <bors@rust-lang.org>
Wed, 14 Mar 2018 21:49:10 +0000 (21:49 +0000)
Copy `.pdb` files to `target` directory

`.pdb` files are for windows debug info (unlike on linux, debug info is
in a separate file). Windows executable actually hard-code paths to
`.pdb` files, so debugging mvsc rust programs works even without this
patch. However, if you want to distribute the executable to other
machines, you'd better distribute both `foo.exe` and `foo.pdb`, because
absolute paths won't work on another machine. Having same-named .pdb
file alongside the binary would work though.

closes #4960


Trivial merge