about summary refs log tree commit diff
path: root/compiler/rustc_interface/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2023-11-22Call FileEncoder::finish in rmeta encodingBen Kimock-0/+1
2023-11-04Remove support for compiler plugins.Nicholas Nethercote-1/+0
They've been deprecated for four years. This commit includes the following changes. - It eliminates the `rustc_plugin_impl` crate. - It changes the language used for lints in `compiler/rustc_driver_impl/src/lib.rs` and `compiler/rustc_lint/src/context.rs`. External lints are now called "loaded" lints, rather than "plugins" to avoid confusion with the old plugins. This only has a tiny effect on the output of `-W help`. - E0457 and E0498 are no longer used. - E0463 is narrowed, now only relating to unfound crates, not plugins. - The `plugin` feature was moved from "active" to "removed". - It removes the entire plugins chapter from the unstable book. - It removes quite a few tests, mostly all of those in `tests/ui-fulldeps/plugin/`. Closes #29597.
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-23/+25
- Sort dependencies and features sections. - Add `tidy` markers to the sorted sections so they stay sorted. - Remove empty `[lib`] sections. - Remove "See more keys..." comments. Excluded files: - rustc_codegen_{cranelift,gcc}, because they're external. - rustc_lexer, because it has external use. - stable_mir, because it has external use.
2023-10-28Remove an unneeded dependency.Nicholas Nethercote-1/+0
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-0/+1
Removes two pieces of mutable state. Follow up to #114622.
2023-07-26replace atty crate with std's isTerminalklensy-1/+0
2023-06-06Write to stdout if `-` is given as output fileJing Peng-0/+1
If `-o -` or `--emit KIND=-` is provided, output will be written to stdout instead. Binary output (`obj`, `llvm-bc`, `link` and `metadata`) being written this way will result in an error unless stdout is not a tty. Multiple output types going to stdout will trigger an error too, as they will all be mixded together.
2023-04-26Remove QueryEngine traitJohn Kåre Alsaker-0/+1
2023-04-22drop unused deps, gate libc under unix for one crateklensy-1/+0
2023-04-18Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`Nilstrieb-0/+1
Fluent, with all the icu4x it brings in, takes quite some time to compile. `fluent_messages!` is only needed in further downstream rustc crates, but is blocking more upstream crates like `rustc_index`. By splitting it out, we allow `rustc_macros` to be compiled earlier, which speeds up `x check compiler` by about 5 seconds (and even more after the needless dependency on `serde_json` is removed from `rustc_data_structures`).
2023-03-25Update indexmap and rayon cratesJohn Kåre Alsaker-3/+3
2023-03-16Add `try_canonicalize` to `rustc_fs_util` and use it over `fs::canonicalize`John Kåre Alsaker-0/+1
2023-02-20Run the resolver after TyCtxt constructionOli Scherer-0/+1
2023-02-06remove unused importsklensy-1/+0
2023-01-30session: diagnostic migration lint on more fnsDavid Wood-3/+0
Apply the diagnostic migration lint to more functions on `Session`. Signed-off-by: David Wood <david.wood@huawei.com>
2023-01-13Warn when using panic-strategy abort for proc-macro cratesLukas Wirth-0/+1
2022-11-18Enable icu sync feature for parallel compilerCharles Lew-1/+1
2022-11-04improve `filesearch::get_or_default_sysroot` r=ozkanonurOnur Özkan-6/+0
Signed-off-by: Onur Özkan <work@onurozkan.dev>
2022-10-20rustc_hir_typeck: fix paths and partially mv fileslcnr-0/+1
2022-09-29Remove from compiler/ cratesreez12g-1/+0
2022-09-27rustc_typeck to rustc_hir_analysislcnr-1/+1
2022-08-17Migrate emoji identifier diagnostics to `SessionDiagnostic`finalchild-0/+1
2022-07-02move encode_and_write_metadata to rustc_metadata::fsYoshiki Matsuda-1/+0
2022-06-27Update `smallvec` to 1.8.1.Nicholas Nethercote-1/+1
This pulls in https://github.com/servo/rust-smallvec/pull/282, which gives some small wins for rustc.
2022-06-13remove currently unused depsklensy-1/+3
2022-05-27Update to rebased rustc-rayon 0.4Josh Stone-2/+2
2022-03-28Propagate `parallel_compiler` feature through rustc crates. Turned off ↵klensy-2/+3
feature gives change of builded crates: 238 -> 224.
2022-01-10Update rayon and rustc-rayonJosh Stone-2/+2
2021-12-06replace dynamic library module with libloadingAndy Russell-0/+1
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-1/+1
2021-09-07Move monomorphize code to its own crate.Camille GILLOT-0/+1
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-0/+1
2021-09-07Move rustc_mir::borrow_check to new crate rustc_borrowck.Camille GILLOT-0/+1
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo.
2021-06-25rustc_interface: Remove unused dependency rustc_indexJosh Triplett-1/+0
Unused since commit cd7a011f37c51d6cb367e87c37b4d7bc464da09d ("Don't duplicate the extern providers once for each crate").
2021-04-23Use tempfileJubilee Young-1/+1
2021-03-10Update to rustc-rayon 0.3.1Josh Stone-2/+2
This pulls in rust-lang/rustc-rayon#8 to fix #81425. (h/t @ammaraskar) That revealed weak constraints on `rustc_arena::DropArena`, because its `DropType` was holding type-erased raw pointers to generic `T`. We can implement `Send` for `DropType` (under `cfg(parallel_compiler)`) by requiring all `T: Send` before they're type-erased.
2021-02-19Move the query system to rustc_query_impl.Camille GILLOT-0/+1
2021-02-19Move handle_deadlock where it is used.Camille GILLOT-0/+1
2021-02-19Make QueryEngine opaque to TyCtxt.Camille GILLOT-0/+1
2021-02-14bumped smallvec depsklensy-1/+1
2020-11-19Move `rustc_ty` -> `rustc_ty_utils`LeSeulArtichaut-1/+1
2020-09-01interface: use `OnceCell` from standard librarymarmeladema-1/+0
2020-08-30mv compiler to compiler/mark-0/+55