about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2014-08-14 23:42:37 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2014-08-15 14:40:09 +0200
commita5590b3c752f5a7039c8786081c9d6a80267bdd0 (patch)
treee81e947a26b0b954aa7e7ddcbe114d6e6580ca6d /src/rustllvm/RustWrapper.cpp
parenta8c8e3f80fd0355b2bb91337c6ad0bb0a38d5485 (diff)
downloadrust-a5590b3c752f5a7039c8786081c9d6a80267bdd0.tar.gz
rust-a5590b3c752f5a7039c8786081c9d6a80267bdd0.zip
Properly canonicalize crate paths specified via --extern
Crates that are resolved normally have their path canonicalized and all
symlinks resolved. This does currently not happen for paths specified
using the --extern option to rustc, which can lead to rustc thinking
that it encountered two different versions of a crate, when it's
actually the same version found through different paths.

To fix this, we must store the canonical path for crates found via
--extern and also use the canonical path when comparing paths.

Fixes #16496
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions