diff options
| author | bors <bors@rust-lang.org> | 2014-12-01 17:51:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-12-01 17:51:55 +0000 |
| commit | de95ad4c46788518822326941bdc5084b1023abf (patch) | |
| tree | 568aa3e6c255e0c8d3f4eef376ec96adc902cbe3 /src/rustllvm/RustWrapper.cpp | |
| parent | 09f04bf2c919725d5ee69b8cbb34cdcbb3433e25 (diff) | |
| parent | 08fb9aa2d218399ed6d246c97fb6cdd0d1150b59 (diff) | |
| download | rust-de95ad4c46788518822326941bdc5084b1023abf.tar.gz rust-de95ad4c46788518822326941bdc5084b1023abf.zip | |
auto merge of #19436 : lifthrasiir/rust/rustdoc-short-src-paths, r=alexcrichton
Before: `doc/src/collections/home/lifthrasiir/git/rust/src/libcollections/vec.rs.html` After: `doc/src/collections/vec.rs.html` If the source code is in the parent dirs relative to the crate root, `..` is replaced with `up` as expected. Any other error like non-UTF-8 paths or drive-relative paths falls back to the absolute path. There might be a way to improve on false negatives, but this alone should be enough for fixing #18370.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
