about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2014-04-03 17:43:57 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2014-04-03 17:46:22 +0200
commit3ccbffac40958159c571ee515b85146397c0a35f (patch)
treea08badc7e48e08b130fcb5877b0c120b8edd7c61 /src/rustllvm/ExecutionEngineWrapper.cpp
parent7bda3df6ff894e9b522ede02b15b6772c99e7362 (diff)
downloadrust-3ccbffac40958159c571ee515b85146397c0a35f.tar.gz
rust-3ccbffac40958159c571ee515b85146397c0a35f.zip
After a hash mismatch error, emit file-system paths of crates involved.
Fix #13266.

There is a little bit of acrobatics in the definition of `crate_paths`
to avoid calling `clone()` on the dylib/rlib unless we actually are
going to need them.

The other oddity is that I have replaced the `root_ident: Option<&str>`
parameter with a `root: &Option<CratePaths>`, which may surprise one
who was expecting to see something like: `root: Option<&CratePaths>`.
I went with the approach here because I could not come up with code for
the alternative that was acceptable to the borrow checker.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions