diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-16 01:08:56 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-18 13:51:29 -0700 |
| commit | 848f7b734ec88964879f5a3051b940d48469ce2e (patch) | |
| tree | deff6aaa5aae6147b392b508f11852bc70bc9d64 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | d717d613e34482d7ddb738cea927900ca6601094 (diff) | |
| download | rust-848f7b734ec88964879f5a3051b940d48469ce2e.tar.gz rust-848f7b734ec88964879f5a3051b940d48469ce2e.zip | |
rustdoc: Implement cross-crate searching
A major discoverability issue with rustdoc is that all crates have their documentation built in isolation, so it's difficult when looking at the documentation for libstd to learn that there's a libcollections crate with a HashMap in it. This commit moves rustdoc a little closer to improving the multiple crate experience. This unifies all search indexes for all crates into one file so all pages share the same search index. This allows searching to work across crates in the same documentation directory (as the standard distribution is currently built). This strategy involves updating a shared file amongst many rustdoc processes, so I implemented a simple file locking API for handling synchronization for updates to the shared files. cc #12554
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
