| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-28 | rustc_metadata: Merge `cstore.rs` into `creader.rs` | Vadim Petrochenkov | -94/+0 | |
| 2019-11-28 | rustc_metadata: Privatize `CrateMetadata::dependencies` | Vadim Petrochenkov | -1/+1 | |
| 2019-11-28 | rustc_metadata: Cleanup generation of crate dependency lists | Vadim Petrochenkov | -31/+26 | |
| 2019-11-17 | rustc_metadata: Move `CrateMetadata` into `decoder.rs` | Vadim Petrochenkov | -121/+5 | |
| It allows to make most of its fields private | ||||
| 2019-11-17 | rustc_metadata: Minor cleanup | Vadim Petrochenkov | -2/+2 | |
| 2019-11-17 | rustc_metadata: Give a constructor to `CrateMetadata` | Vadim Petrochenkov | -0/+44 | |
| 2019-11-17 | rustc_metadata: Move some structs from `cstore` to `decoder` | Vadim Petrochenkov | -18/+4 | |
| This allows to privatize their fields. | ||||
| 2019-11-11 | Move allocator_kind to CrateStore | Mark Rousskov | -0/+3 | |
| Similarly to the previous commit, there's no need for this to be in Session and have a Once around it. | ||||
| 2019-11-11 | Move injected_panic_runtime to CrateStore | Mark Rousskov | -0/+2 | |
| This was essentially a "query" previously (with no key, just always run once when resolving the crate dependencies), and remains so, just now in a way that isn't on Session. This removes the need for the `Once` as well. | ||||
| 2019-11-07 | rustc_metadata: Rename `schema` to `rmeta` | Vadim Petrochenkov | -4/+4 | |
| And change `rmeta.rs` to `rmeta/mod.rs` | ||||
| 2019-11-07 | rustc_metadata: Move cstore_impl into mod decoder | Vadim Petrochenkov | -1/+1 | |
| 2019-10-31 | Implement dual proc macro hashing | msizanoen | -0/+3 | |
| This changes the mechanism of `-Z dual-proc-macro` to record the host proc macro hash in the transistive dependency information and use it during dependency resolution instead of resolving only by name. | ||||
| 2019-10-30 | Change CrateMetadata's source_map_import_info from RwLock to Once | Santiago Pastorino | -2/+2 | |
| This field is created lazily on first use and after that is read only. That's exactly what Once is for. | ||||
| 2019-10-24 | rustc_metadata: Minimize use of `Lrc` in crate store | Vadim Petrochenkov | -6/+6 | |
| Crate metadatas are still stored as `Lrc<CrateMetadata>` in `CStore` because crate store has to be cloneable due to `Resolver::clone_outputs`. | ||||
| 2019-10-24 | rustc_metadata: Remove `RwLock` from `CStore` | Vadim Petrochenkov | -14/+11 | |
| 2019-10-24 | Turn crate store into a resolver output | Vadim Petrochenkov | -7/+9 | |
| 2019-10-24 | rustc: Add a convenience alias for `dyn MetadataLoader + Sync` | Vadim Petrochenkov | -3/+3 | |
| 2019-10-16 | move syntax::ext to new crate syntax_expand | Mazdak Farrokhzad | -1/+1 | |
| 2019-10-14 | rustc_metadata: Remove resolutions for extern crate items from `CStore` | Vadim Petrochenkov | -12/+1 | |
| Use a more traditional scheme with providing them as a resolver output | ||||
| 2019-10-14 | rustc_metadata: Improve documentation of `CrateMetadata` | Vadim Petrochenkov | -25/+36 | |
| 2019-10-14 | rustc_metadata: Privatize private code and remove dead code | Vadim Petrochenkov | -43/+31 | |
| 2019-10-09 | Cache the DepNodeIndex of upstream crates in order to avoid multiple locks ↵ | Michael Woerister | -1/+9 | |
| and table lookups on each access of crate metadata. | ||||
| 2019-10-04 | metadata: Remove `CrateMetadata::name` | Vadim Petrochenkov | -4/+0 | |
| It duplicates `CrateRoot::name` | ||||
| 2019-10-04 | metadata: Remove `CrateMetadata::host_lib` | Vadim Petrochenkov | -2/+0 | |
| It was only used for retreiving edition, which was a bug. In case of dual proc macros the edition should be taken from the target crate version, like any other metadata. | ||||
| 2019-10-04 | metadata: Remove `CrateMetadata::imported_name` | Vadim Petrochenkov | -4/+0 | |
| It's entirely irrelevant to crate loading | ||||
| 2019-09-29 | remove indexed_vec re-export from rustc_data_structures | csmoe | -1/+1 | |
| 2019-08-27 | metadata: Eliminate `FullProcMacro` | Vadim Petrochenkov | -6/+1 | |
| Fix caching of loaded proc macros | ||||
| 2019-08-20 | rustc_metadata: replace LazySeq<T> with Lazy<[T]>. | Eduard-Mihai Burtescu | -4/+4 | |
| 2019-08-17 | Serialize additional data for procedural macros | Aaron Hill | -3/+14 | |
| Split off from #62855 This PR deerializes the declaration `Span` and attributes for all procedural macros from their underlying function definitions. This allows Rustdoc to properly render doc comments and source links when inlining procedural macros across crates | ||||
| 2019-08-16 | Fix a comment for the def_path_table. | Edd Barrett | -1/+1 | |
| The definition path table contains *all* definitions, not just public definitions. | ||||
| 2019-05-22 | rustc_metadata: parametrize schema::CrateRoot by 'tcx. | Eduard-Mihai Burtescu | -1/+5 | |
| 2019-04-14 | Properly parse '--extern-private' with name and path | Aaron Hill | -1/+6 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -3/+3 | |
| 2019-02-08 | librustc_metadata => 2018 | Taiki Endo | -2/+2 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-10-19 | Prefer `Default::default` over `FxHash*::default` in struct constructors | Oliver Scherer | -1/+1 | |
| 2018-10-19 | Deprecate the `FxHashMap()` and `FxHashSet()` constructor function hack | Oliver Scherer | -1/+1 | |
| 2018-09-19 | Use full name to identify a macro in a `FileName`. | Diogo Sousa | -0/+5 | |
| Before this two macros with same name would be indistinguishable inside a `FileName`. This caused a bug in incremental compilation (see #53097) since two different macros would map out to the same `StableFilemapId`. Fixes #53097. | ||||
| 2018-08-19 | mv codemap source_map | Donato Sciarra | -4/+4 | |
| 2018-08-19 | mv filemap source_file | Donato Sciarra | -2/+2 | |
| 2018-08-19 | mv FileMap SourceFile | Donato Sciarra | -7/+7 | |
| 2018-08-03 | Move unused trait functions to inherent functions | Mark Rousskov | -0/+5 | |
| 2018-07-11 | Deny bare trait objects in in src/librustc_metadata | ljedrz | -2/+2 | |
| 2018-06-01 | Make metadata decoding use AllocDecodingState/Session. | Michael Woerister | -1/+4 | |
| 2018-05-18 | Catch an issue missed in rebase | Isaac Whitfield | -2/+1 | |
| 2018-05-18 | Remove unnecessary impl methods for CrateMetadata | Isaac Whitfield | -61/+0 | |
| 2018-05-18 | Serialize attributes into the CrateRoot | Isaac Whitfield | -9/+28 | |
| 2018-05-18 | Remove unnecessary clone call for panic_strategy | Isaac Whitfield | -1/+1 | |
| 2018-05-18 | Attempt to pass CrateMetadata flags on creation | Isaac Whitfield | -37/+11 | |
