about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-16 01:08:56 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-18 13:51:29 -0700
commit848f7b734ec88964879f5a3051b940d48469ce2e (patch)
treedeff6aaa5aae6147b392b508f11852bc70bc9d64 /src/rustllvm/ExecutionEngineWrapper.cpp
parentd717d613e34482d7ddb738cea927900ca6601094 (diff)
downloadrust-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