about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-04-13 07:16:20 -0700
committerbors <bors@rust-lang.org>2016-04-13 07:16:20 -0700
commit525aa6102250ec2a33c7066dfb966524f0ce3e21 (patch)
tree4d7f35086f2506f52e014269a04ec7483659dbcc /src/libsyntax/errors
parent6136a86291b12f5441910d56d5bc0dfbc7eecdeb (diff)
parentcc3b6f24b7604880279918b3c1a58ef62fb06b36 (diff)
downloadrust-525aa6102250ec2a33c7066dfb966524f0ce3e21.tar.gz
rust-525aa6102250ec2a33c7066dfb966524f0ce3e21.zip
Auto merge of #32828 - vadimcn:symlinks, r=alexcrichton
Do not rely on file extensions after path canonicalization.

Rustc does not recognize libraries which are symlinked to files having extension other than .rlib. The problem is that find_library_crate calls fs::canonicalize on found library paths, but then the resulting path is passed to get_metadata_section, which assumes it will end in ".rlib" if it's an rlib (from https://internals.rust-lang.org/t/is-library-path-canonicalization-worth-it/3206).

cc #29433
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions