| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-25 | Merge from rustc | Boxy | -2/+2 | |
| 2025-02-17 | Move some `Map` methods onto `TyCtxt`. | Nicholas Nethercote | -1/+1 | |
| The end goal is to eliminate `Map` altogether. I added a `hir_` prefix to all of them, that seemed simplest. The exceptions are `module_items` which became `hir_module_free_items` because there was already a `hir_module_items`, and `items` which became `hir_free_items` for consistency with `hir_module_free_items`. | ||||
| 2025-02-15 | Fix examples to work with nightly-2025-02-13 | Florian Brucker | -12/+37 | |
| While there were comments indicating which nightly versions the examples were tested with, those versions did not work for me: neither did the examples compile, nor did they produce the expected output. This commit fixes the compilation issues, using nightly-2025-02-13 for all examples (previously the version differed between the examples) and, in the case of the `rustc_driver` examples, also fixes the argument passing: rustc ignores the first argument, so we need to pass the filename as the second (otherwise we only get the help text printed). Note that the `rustc-interface-getting-diagnostics.rs` example still does not produce any output, which I assume is not how it is intended. However, I don't know enough to fix it. To avoid inconsistencies between the documented version and the actually required version I've moved the version comment from the Markdown into the Rust code where it hopefully won't be forgotten as easily. Finally I've clarified in the examples' README that you also need to use the proper nightly version when compiling the examples, not just when running them. | ||||
| 2025-02-03 | tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc` | Askar Safin | -4/+4 | |
| 2025-02-02 | Replace ParseSess::set_dcx with DiagCtxt::set_emitter | bjorn3 | -4/+4 | |
| Replacing the error emitter doesn't accidentally clear the error count. | ||||
| 2025-01-28 | Make crate AST mutation accessible for driver callback | Mohammad Omidvar | -2/+2 | |
| 2025-01-23 | Remove RunCompiler | bjorn3 | -4/+4 | |
| It has become nothing other than a wrapper around run_compiler. | ||||
| 2025-01-23 | Remove set_make_codegen_backend and set_file_loader | bjorn3 | -14/+12 | |
| They can both be set inside the config callback too. | ||||
| 2024-12-27 | Rework the driver docs (#2162) | bjorn3 | -166/+245 | |
| 2024-09-24 | Fix getting diagnostics example | Vetle Rasmussen | -2/+5 | |
| 2024-05-11 | Update the rustc_interface examples for current rustc (#1974) | Matthew Woodcraft | -11/+11 | |
| 2024-03-12 | More updates for recent diagnostics changes. | Nicholas Nethercote | -4/+4 | |
| A sequel to #1883, this covers diagnostic naming changes from rust-lang/rust/pull/121489, rust-lang/rust/pull/121780, and rust-lang/rust/pull/122132. | ||||
| 2024-01-22 | Get diagnostics directly in `rustc-driver-getting-diagnostics` example (#1857) | Shoyu Vanilla | -17/+46 | |
| 2024-01-21 | Update examples (#1856) | Shoyu Vanilla | -35/+24 | |
| Co-authored-by: Yuki Okushi <jtitor@2k36.org> | ||||
| 2023-10-05 | update rustc_driver examples (#1803) | Timo | -0/+6 | |
| 2023-04-01 | update rustc_driver examples (#1655) | Tshepang Mbambo | -3/+5 | |
| 2023-03-26 | Add locale_resources (#1651) | Nathan Hammond | -0/+1 | |
| 2023-02-15 | howto run the examples (#1593) | Tshepang Mbambo | -21/+17 | |
| 2023-02-09 | update examples for rustc 1.69.0-nightly (e1eaa2d5d 2023-02-06) (#1590) | Hiroki Fujino | -11/+10 | |
| Closes https://github.com/rust-lang/rustc-dev-guide/issues/1581 | ||||
| 2023-01-15 | fix examples for rustc 1.68.0-nightly (935dc0721 2022-12-19) (#1556) (#1557) | gftea | -9/+3 | |
| Co-authored-by: Yuki Okushi <jtitor@2k36.org> Closes https://github.com/rust-lang/rustc-dev-guide/issues/1556 | ||||
| 2022-06-07 | improve rustc_interface examples a little (#1362) | Tshepang Mbambo | -19/+33 | |
| 2022-05-30 | Update rustc-driver related examples | Yuki Okushi | -9/+11 | |
| 2022-04-11 | Update examples with 1.61.0-nightly (latest version) (#1330) | Ujjawal | -10/+9 | |
| Co-authored-by: Ujjawal Kumar <u.kumar@ukumar-ltmit1s.internal.salesforce.com> | ||||
| 2021-11-24 | make it compile with 1.56.0 no warning | Simon Perriard | -1/+1 | |
| 2021-11-24 | make it compile with 1.56.0 | Simon Perriard | -2/+2 | |
| 2021-11-24 | make it compile with 1.56.0 | Simon Perriard | -1/+1 | |
| 2021-03-28 | Update rustc-driver-*.rs examples (#1095) | Undxxx | -9/+15 | |
| 2020-11-10 | Add some more examples of using the compiler | Joshua Nelson | -3/+15 | |
| 2020-08-03 | Fix examples not working | Takayuki Nakata | -4/+1 | |
| 2020-05-07 | Reference complete examples | George Fraser | -36/+187 | |
| 2020-03-22 | run_compiler is exported by rustc_interface | George Fraser | -3/+2 | |
| 2020-03-22 | Example of rustc interface (#621) | George Fraser | -0/+103 | |
| * Example of rustc interface (https://internals.rust-lang.org/t/using-the-rustc-interface-crate/11982) | ||||
