about summary refs log tree commit diff
path: root/compiler/rustc_driver/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2025-09-05compiler: Add Windows resources to rustc-main and rustc_driverAleksey Kliger-0/+5
Adds Windows resources with the rust version information to rustc-main.exe and rustc_driver.dll Sets the product description to "Rust Compiler" or "Rust Compiler (channel)" for non-stable channels
2025-03-10Revert "Use workspace lints for crates in `compiler/` #138084"许杰友 Jieyou Xu (Joe)-3/+0
Revert <https://github.com/rust-lang/rust/pull/138084> to buy time to consider options that avoids breaking downstream usages of cargo on distributed `rustc-src` artifacts, where such cargo invocations fail due to inability to inherit `lints` from workspace root manifest's `workspace.lints` (this is only valid for the source rust-lang/rust workspace, but not really the distributed `rustc-src` artifacts). This breakage was reported in <https://github.com/rust-lang/rust/issues/138304>. This reverts commit 48caf81484b50dca5a5cebb614899a3df81ca898, reversing changes made to c6662879b27f5161e95f39395e3c9513a7b97028.
2025-03-08Specify rust lints for `compiler/` crates via Cargo.Nicholas Nethercote-0/+3
By naming them in `[workspace.lints.rust]` in the top-level `Cargo.toml`, and then making all `compiler/` crates inherit them with `[lints] workspace = true`. (I omitted `rustc_codegen_{cranelift,gcc}`, because they're a bit different.) The advantages of this over the current approach: - It uses a standard Cargo feature, rather than special handling in bootstrap. So, easier to understand, and less likely to get accidentally broken in the future. - It works for proc macro crates. It's a shame it doesn't work for rustc-specific lints, as the comments explain.
2025-02-22Upgrade the compiler to edition 2024Michael Goulet-1/+1
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-0/+2
- 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-07-03Update rustixNilstrieb-3/+0
The issue has been fixed.
2023-07-02Downgrade rustixNilstrieb-0/+3
See https://github.com/rust-lang/rust/pull/113046#issuecomment-1616094626.
2023-02-02Add a new `rustc_driver` dylib to rexport `rustc_driver_impl`John Kåre Alsaker-0/+10
2023-02-02Rename rustc_driver to rustc_driver_implJohn Kåre Alsaker-45/+0
2022-09-27rustc_typeck to rustc_hir_analysislcnr-1/+1
2022-09-01tracing::instrument cleanupOli Scherer-1/+1
2022-08-25Start moving rustc_driver to SessionDiagnosticAdrian Tombu-0/+1
2022-06-13remove currently unused depsklensy-3/+3
2022-06-03Use serde_json for target spec jsonbjorn3-0/+1
2022-03-28Propagate `parallel_compiler` feature through rustc crates. Turned off ↵klensy-0/+2
feature gives change of builded crates: 238 -> 224.
2022-01-03Extract init_env_logger to crateDavid Tolnay-4/+2
2021-12-22Upgrade `tracing-subscriber`pierwill-1/+1
2021-12-22Update chalk to 0.75.0pierwill-1/+1
- Compute flags in `intern_ty` - Remove tracing-serde from PERMITTED_DEPENDENCIES - Disable `tracing-full` feature in `chalk-solve` - Bump tracing-tree to 0.2.0
2021-10-02Bump tracing to get the instrumentation perf improvementOli Scherer-1/+1
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-1/+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-07-24Support -Z unpretty=thir-tree againSmitty-0/+1
2021-06-25rustc_driver: Remove unused dependencies rustc_mir_build and rustc_typeckJosh Triplett-2/+0
Unused since commit dc3eabd48700863075bd986a497fbe4f227aa33b ("Store THIR in `IndexVec`s instead of an `Arena`").
2021-03-11Add `-Z unpretty` flag for the THIRLeSeulArtichaut-0/+2
2021-03-09Bump tracing-tree dependencyOli Scherer-1/+1
2021-02-28Update tracing to 0.1.25Tomasz Miąsko-3/+3
2021-01-11driver: Use `atty` instead of rolling our ownCamelid-0/+1
Rationale: - `atty` is widely used in the Rust ecosystem - We already use it (in `rustc_errors` and other places) - We shouldn't be rolling our own TTY detector when there's a widely-used, well-tested package that we can use
2020-10-07Upgrade to tracing 0.2.13Joshua Nelson-1/+1
The primary motivation is to get the changes from https://github.com/tokio-rs/tracing/pull/990. Example output: ``` $ RUSTDOC_LOG=debug rustdoc +rustc2 warning: some trace filter directives would enable traces that are disabled statically | `debug` would enable the DEBUG level for all targets = note: the static max level is `info` = help: to enable DEBUG logging, remove the `max_level_info` feature ``` - Remove useless test This was testing for an ICE when passing `RUST_LOG=rustc_middle`. I noticed it because it started giving the tracing warning (because tests are not run with debug-logging enabled). Since this bug seems unlikely to re-occur, I just removed it altogether.
2020-09-28Use `tracing` spans to trace the entire MIR interp stackOliver Scherer-0/+1
2020-09-11just max_level_infoGus Wynn-1/+1
2020-09-11comments + add max_level_info so false works with debug_assertions onGus Wynn-1/+1
2020-09-10add debug-logging to config.tomlGus Wynn-1/+2
2020-09-01driver: replace `lazy_static` by `SyncLazy` from stdmarmeladema-1/+0
2020-08-30mv compiler to compiler/mark-0/+41