Commit Graph

1700 Commits

Author SHA1 Message Date
Lukas Wirth
ee3c21fb61 Reformat 2025-11-15 09:16:57 +02:00
Lukas Wirth
ae4b7f6c8f Reformat 2025-11-15 09:16:57 +02:00
Lukas Wirth
9295f8eaf6 Update Cargo.toml and lockfile 2025-11-15 09:16:57 +02:00
Shoyu Vanilla (Flint)
2e2e3ebec9 Merge pull request #20927 from ChayimFriedman2/dhat
feat: Support memory profiling with dhat
2025-10-31 07:08:23 +00:00
Lukas Wirth
823d7197a0 minor: Cleanup map_rust_child_diagnostics a bit 2025-10-29 13:12:21 +01:00
Chayim Refael Friedman
1ba3165b81 Support memory profiling with dhat
Unfortunately, this requires a custom build of r-a, and it's quite slow.
2025-10-28 13:00:53 +02:00
Daniel Paoliello
98f341eaa6 Bump dependencies to remove indirect dependencies on windows-sys 0.52 and 0.59 2025-10-24 09:09:37 -07:00
Shoyu Vanilla
a536262c8a Bump rustc deps 2025-10-23 08:40:18 +09:00
Chayim Refael Friedman
7a7ab993bb Revert "internal: Rewrite attribute handling" 2025-10-22 19:19:13 +03:00
Chayim Refael Friedman
455ca02f17 Rewrite attribute handling
Basically, we switch to expanding cfg_attr in AST form, filter irrelevant attributes from the item tree, and move hir-def attributes (non-item-tree) to be flag-based.

The main motivation is memory usage, although this also simplifies the code, and fixes some bugs around handling of `cfg_attr`s.
2025-10-22 11:47:01 +03:00
Chayim Refael Friedman
3099a7f4d6 Merge pull request #20873 from ChayimFriedman2/to-ns2
Rip Chalk out of the codebase 🎉
2025-10-20 15:37:53 +00:00
Lukas Wirth
e78de709eb Merge pull request #20854 from epage/frontmatter
feat(parser): Don't error on frontmatter
2025-10-20 08:58:23 +00:00
Chayim Refael Friedman
88d8c142b4 Rip Chalk out of the codebase! 2025-10-20 11:21:28 +03:00
Chayim Refael Friedman
81e621af0b Improve fixture support
Support more features beside highlighting, and support items from minicore.
2025-10-16 22:06:16 +03:00
Ed Page
8231a2b01c feat(parser): Don't error on frontmatter 2025-10-16 11:07:05 -05:00
Chayim Refael Friedman
fcfff0827f Merge pull request #20836 from Elliot-Roberts/cfg-require-tt
Fix compile error in `crates/cfg` tests due to `tt` feature
2025-10-15 03:03:52 +00:00
Laurențiu Nicola
135e5b6575 Fix lockfile 2025-10-14 14:34:14 +03:00
Laurențiu Nicola
0ca6ee4ed5 Bump rustc crates a little 2025-10-14 13:34:47 +03:00
Elliot Roberts
606909e652 enable tt feature in crates/cfg tests 2025-10-12 15:53:10 -07:00
Chayim Refael Friedman
e6857aa58d Migrate MIR to next solver 2025-10-10 17:40:15 +03:00
Chayim Refael Friedman
c6ef51e550 Switch to home-made db attaching infrastructure
Instead of using Salsa's, as we can no longer can a `dyn HirDatabase` from the `dyn salsa::Database` Salsa provides.
2025-10-05 09:55:50 +03:00
David Barsky
a7234f8b3a internal: bump salsa to 0.24 2025-10-04 09:47:26 -07:00
Chayim Refael Friedman
d1288f6353 Migrate inference to next solver 2025-09-30 13:10:59 +03:00
J. Neuschäfer
87d9dee92f Update memchr to 2.7.6
memchr 2.7.6 contains a bugfix for aarch64_be
2025-09-26 17:48:20 +02:00
Chayim Refael Friedman
6b133c6b1b Implement fallback properly
fallback.rs was ported straight from rustc (minus the lint parts).

This fixes the `!` regressions.
2025-09-24 20:42:06 +03:00
Laurențiu Nicola
4599670308 Bump rustc crates once more 2025-09-20 09:38:53 +03:00
Shoyu Vanilla
3b4f5fbd73 minor: Get rid of unused deps chalk-solve and chalk-recursive 2025-09-19 22:35:46 +09:00
Shoyu Vanilla
7dfb1c463e minor: Yet another rustc crates bump 2025-09-19 03:26:03 +09:00
Laurențiu Nicola
f289a24d0a Bump rustc crates again 2025-09-18 19:03:35 +03:00
Shoyu Vanilla
74dda38d54 chore: Update rustc deps 2025-09-18 23:02:42 +09:00
Chayim Refael Friedman
9621689e47 Upgrade rustc crates and handle changes to canonicalization
They have to do with diagnostics, we could probably not support them but we will also someday want good diagnostics.

The code is mostly copied from rustc.
2025-09-10 00:48:33 +03:00
Chayim Refael Friedman
b78574cd62 Upgrade rustc crates
The main changes are (there are some other small changes):

 - Using a specific type for trait IDs in the new solver, allowing us to simplify a lot of code.
 - Add `BoundConst` similar to `BoundTy` and `BoundRegion` (previously consts used `BoundVar` directly), due to a new trait requirement.
2025-09-04 22:36:31 +03:00
dependabot[bot]
50e746bfe4 Bump tracing-subscriber from 0.3.19 to 0.3.20
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.19...tracing-subscriber-0.3.20)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-version: 0.3.20
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-29 20:55:43 +00:00
jackh726
9418a3f2df Implement next trait solver 2025-08-09 16:08:58 +00:00
Lukas Wirth
fc9a89dd19 Fix non-lsp compliant Response definition 2025-08-06 18:01:44 +02:00
Lukas Wirth
423c7dd23a Merge pull request #20342 from Veykril/push-zysqtqskuxvr
Reorganize proc-macro-srv more, add `--format` and `--version` args
2025-07-31 08:21:52 +00:00
Lukas Wirth
a7a365e8f8 Properly clean proc-macro-srv proc-macro temp dir 2025-07-31 09:36:49 +02:00
Lukas Wirth
4d5bb86ad7 Abtract away json protocol for proc-macro-srv 2025-07-30 15:52:10 +02:00
Laurențiu Nicola
572a79fd66 Format and bump rustc crates 2025-07-28 20:31:22 +03:00
Shoyu Vanilla
d5379d3103 Use TempDir for copied lockfiles 2025-07-23 23:39:46 +09:00
Jakub Beránek
ceaa0376ef Remove pull/push functionality from xtask 2025-07-22 15:25:16 +02:00
Laurențiu Nicola
e0e4e26474 Downgrade ra-ap-rustc_parse_format 2025-07-21 09:46:53 +03:00
Laurențiu Nicola
d53f0b9382 Revert "Bump rustc-literal-escaper"
This reverts commit 9f3adc540b.
2025-07-21 09:31:28 +03:00
Laurențiu Nicola
9f3adc540b Bump rustc-literal-escaper 2025-07-21 09:27:37 +03:00
Laurențiu Nicola
30333a637c Bump rustc crates 2025-07-21 09:19:24 +03:00
Laurențiu Nicola
9d681adbaf Update lockfile 2025-07-18 08:39:13 +03:00
Laurențiu Nicola
0e2e6e7a8a Format and bump rustc crates 2025-07-15 17:41:08 +03:00
asahi-myzk
2f7dba4977 update cargo_metadata to 0.21.0 2025-07-11 09:59:40 +09:00
Lukas Wirth
8029c731ed Bump salsa 2025-07-03 10:05:16 +02:00
Lukas Wirth
70cbf8332a Merge pull request #20012 from lnicola/bump-literal-escaper
Update to literal-escaper 0.0.4
2025-06-24 08:21:36 +00:00