[red-knot] Lazy package file discovery (#12452)

Co-authored-by: Carl Meyer <carl@astral.sh>
This commit is contained in:
Micha Reiser 2024-07-23 10:47:15 +02:00 committed by GitHub
parent f96a3c71ff
commit f0fc6a95fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 420 additions and 158 deletions

View file

@ -19,7 +19,8 @@ pub mod system;
pub mod testing;
pub mod vendored;
pub(crate) type FxDashMap<K, V> = dashmap::DashMap<K, V, BuildHasherDefault<FxHasher>>;
pub type FxDashMap<K, V> = dashmap::DashMap<K, V, BuildHasherDefault<FxHasher>>;
pub type FxDashSet<K> = dashmap::DashSet<K, BuildHasherDefault<FxHasher>>;
#[salsa::jar(db=Db)]
pub struct Jar(File, Program, source_text, line_index, parsed_module);