summary refs log tree commit diff
path: root/compiler/rustc_metadata/src/creader.rs
AgeCommit message (Expand)AuthorLines
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-1/+1
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-1/+1
2023-11-30Move `MetadataLoader{,Dyn}` to `rustc_metadata`.Nicholas Nethercote-5/+15
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-10-06rustc_metadata: use try_canonicalizeTamir Duberstein-2/+3
2023-09-09Use `FreezeLock` for `CStore`John Kåre Alsaker-5/+5
2023-08-13Remove metadata_loader querybjorn3-5/+11
2023-08-09rustc: Move `crate_types` from `Session` to `GlobalCtxt`Vadim Petrochenkov-3/+3
2023-08-07rustc_interface: Dismantle `register_plugins` queryVadim Petrochenkov-3/+5
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-2/+6
2023-05-31Auto merge of #111076 - notriddle:notriddle/silence-private-dep-trait-impl-su...bors-5/+15
2023-05-25Auto merge of #86844 - bjorn3:global_alloc_improvements, r=pnkfelixbors-3/+3
2023-05-25rustc_metadata: specialize private_dep flag with `fetch_and`Michael Howell-1/+1
2023-05-25rustc_metadata: fix private_dep logic in `register_crate`Michael Howell-6/+13
2023-05-25Update compiler/rustc_metadata/src/creader.rsMichael Howell-1/+1
2023-05-25rustc_metadata: inherit dependency privacy flagMichael Howell-3/+6
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-23Fix symbol conflict diagnostic mistakenly being shown instead of missing crat...Oli Scherer-3/+7
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-1/+1
2023-05-11Split AllocatorKind::fn_name in global_fn_name and default_fn_namebjorn3-3/+3
2023-05-05add "force" option to --externMatt Hammerly-1/+13
2023-04-28include source error for LoadLibraryExWSameer Puri-1/+9
2023-04-25Revert "Remove #[alloc_error_handler] from the compiler and library"Matthias Krüger-0/+68
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-16Remove #[alloc_error_handler] from the compiler and libraryAmanieu d'Antras-68/+0
2023-04-04Another AppendOnlyVecOli Scherer-2/+2
2023-03-22Rollup merge of #109358 - petrochenkov:nosess, r=cjgillotMatthias Krüger-20/+17
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-20/+17
2023-03-21Eagerly intern and check CrateNum/StableCrateId collisionsOli Scherer-54/+21
2023-03-13metadata/resolve: Minor refactoring to "tcx -> cstore" conversionsVadim Petrochenkov-6/+9
2023-02-20Stop passing in values that one can also get from the tcx lazilyOli Scherer-12/+17
2023-02-20Remove definitions field that is only needed for one methodOli Scherer-12/+4
2023-02-20Make untracked.cstore lockable so that resolution can still write to it when ...Oli Scherer-6/+5
2023-02-13rustc_resolve: Remove `Resolver::clone_output`Vadim Petrochenkov-6/+5
2023-02-06Add extended error message for E0523Matthew Kelly-1/+6
2023-02-05rustc_metadata: remove huge error importsest31-15/+13
2023-02-02Retry opening proc-macro DLLs a few times on Windows.Michael Woerister-2/+40
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-2/+2
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-2/+2
2022-12-16Auto merge of #102318 - Amanieu:default_alloc_error_handler, r=oli-obkbors-8/+3
2022-12-09Fold `Definitions` into the untracked dataOli Scherer-3/+3
2022-12-09Generate crate loaders on the flyOli Scherer-29/+31
2022-12-07Use `Symbol` for the crate name instead of `String`/`str`Oli Scherer-3/+3
2022-11-16Use `as_deref` in compiler (but only where it makes sense)Maybe Waffle-1/+1
2022-11-03Stabilize default_alloc_error_handlerAmanieu d'Antras-8/+3
2022-10-31Rewrite implementation of `#[alloc_error_handler]`Amanieu d'Antras-12/+85
2022-09-03Rollup merge of #100928 - CleanCut:rustc_metadata_diagnostics, r=davidtwcoDylan DPC-34/+19
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-2/+1
2022-08-31respond to review feedback: mainly eliminate as many conversions as possible...Nathan Stocks-11/+8
2022-08-31port creader.rs to SessionDiagnosticsNathan Stocks-34/+22