diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-07 12:14:33 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-08 00:03:11 -0700 |
| commit | 31755e2452b280fe4038140012dcd19560b6f03d (patch) | |
| tree | 495fe532ee42e95610701b9d2597cb8e48a47635 /src/rustllvm/RustWrapper.cpp | |
| parent | ef37cfdeccbdf8151129d2d182a568d7310754c1 (diff) | |
| download | rust-31755e2452b280fe4038140012dcd19560b6f03d.tar.gz rust-31755e2452b280fe4038140012dcd19560b6f03d.zip | |
rustc: Use CStore, not a separate crate cache
This separate crate cache is one factor which is causing libstd to be loaded twice during normal compilation. The crates loaded for syntax extensions have a separate cache than the crates loaded for linking, so all crates are loaded once per #[phase] they're tagged with. This removes the cache and instead uses the CStore structure itself as the cache for loaded crates. This should allow crates loaded during the syntax phase to be shared with the crates loaded during the link phase.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
