Chayim Refael Friedman
6f4aea11ba
Release a new smol-str minor version with borsh fix
2026-03-04 08:30:26 +02:00
Lukas Wirth
797b1f61e5
Merge pull request #21609 from Veykril/push-qknzslvkmtyt
...
internal: Use rayon for proc-macro loading
2026-02-13 11:33:11 +00:00
Lukas Wirth
7d3705a43f
internal: Use rayon for proc-macro loading
2026-02-13 12:24:47 +01:00
Chayim Refael Friedman
3bd00dea46
Revert "feat: Implement fine grained client side request cancellation support"
2026-02-12 11:20:27 +02:00
Laurențiu Nicola
a03dc1363f
Fix lockfile
2026-02-09 07:21:53 +02:00
Lukas Wirth
2c7c84e002
Merge pull request #21380 from Veykril/push-nolvxuourwru
...
feat: Implement fine grained client side request cancellation support
2026-02-07 13:11:31 +00:00
Lukas Wirth
6d4f51c62c
Correctly implement client side request cancellation support
2026-02-07 14:02:13 +01:00
Lukas Wirth
d5c46d126c
Bump salsa
2026-02-07 14:02:13 +01:00
dependabot[bot]
61c9977751
Bump time from 0.3.44 to 0.3.47
...
Bumps [time](https://github.com/time-rs/time ) from 0.3.44 to 0.3.47.
- [Release notes](https://github.com/time-rs/time/releases )
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md )
- [Commits](https://github.com/time-rs/time/compare/v0.3.44...v0.3.47 )
---
updated-dependencies:
- dependency-name: time
dependency-version: 0.3.47
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-07 12:33:55 +00:00
bit-aloo
154c878099
remove postcard dep from proc-macro-srv-cli
2026-01-30 07:30:41 +05:30
Roberto Aloi
59dcb4df8a
Bump camino to 1.2.2
2026-01-14 13:15:09 +01:00
Lukas Wirth
72e5894aa7
internal: Landing integration test infra for proc-macro-srv-cli
2026-01-10 17:02:45 +01:00
Chayim Refael Friedman
52bb972c34
Publish smol_str v0.3.5
2026-01-08 22:23:16 +02:00
Till Adam
d1a55e6b19
Implement Span::line() and Span::column() for proc-macro server
...
Add proper line/column resolution for proc-macro spans via a callback
mechanism. Previously these methods returned hardcoded 1 values.
The implementation adds:
- SubRequest::LineColumn and SubResponse::LineColumnResult to the
bidirectional protocol
- ProcMacroClientInterface::line_column() method
- Callback handling in load-cargo using LineIndex
- Server implementation in RaSpanServer that uses the callback
- a test for Span::line() and Span::column() in proc-macro server
Add fn_like_span_line_column test proc-macro that exercises the new
line/column API, and a corresponding test with a mock callback.
2026-01-05 08:41:00 +01:00
Chayim Refael Friedman
288ca5dc67
Compress token trees for best memory usage
2025-12-30 12:56:56 +02:00
Chayim Refael Friedman
a366a36d29
Make token trees no longer generic over the span
...
Since the proc macro server no longer uses them (with a different span type).
2025-12-28 09:28:55 +02:00
bit-aloo
6ae410ccc7
remove crossbeam-channel from proc-macro-srv-cli
2025-12-27 10:40:42 +05:30
Lukas Wirth
c8d3e3abed
Merge pull request #21249 from Shourya742/2025-11-27-bidirectional-protocol
...
Add bidirectional messaging proc-macro-srv
2025-12-26 08:08:24 +00:00
Lukas Wirth
af45994feb
Introduce cargo-machete ci step
2025-12-25 10:38:05 +01:00
bit-aloo
9b03499a3b
chore: remove unwanted comments, extra lines and putting cli srv on default
2025-12-23 18:30:47 +05:30
bit-aloo
336f025424
remove internal callbacks, and move callback to rust-analyzer level
2025-12-23 07:58:53 +05:30
A4-Tacks
5abec3c2ce
internal: Fix hir-ty implicit serde derive feature
...
bad commit: 0dd3fe029a
cwd: crates/hir-ty
cmd: cargo check
output: error: cannot find derive macro `Serialize` in this scope
2025-12-21 15:30:47 +08:00
jackh726
0dd3fe029a
Add lsp extension to get failed trait obligations for a given function
2025-12-20 22:43:58 +00:00
Chayim Refael Friedman
36c9f6224c
GC support for solver types
...
A GC is triggered every X revisions, and is synchronous, unfortunately.
2025-12-18 10:12:03 +02:00
Chayim Refael Friedman
776c818882
Lay the basics for non-Copy solver types with GC
...
That means stop using Salsa for interning solver types.
2025-12-18 10:12:03 +02:00
Chayim Refael Friedman
34fd9f65a3
Merge pull request #21283 from ChayimFriedman2/upgrade-salsa
...
internal: Upgrade Salsa
2025-12-17 11:09:07 +00:00
Chayim Refael Friedman
4e54d37ba3
Upgrade Salsa
...
The new version gives an additional `salsa::Id` to cycle handlers, and renames `non_update_return_type` to `non_update_types`.
2025-12-17 12:59:30 +02:00
Chayim Refael Friedman
d7465cb5b7
Upgrade rustc crates
...
Changes:
- `const_of_item()` was added to `Interner`, analogous to `type_of()`. No strongly-typed ID (yet).
- New solver trait lang item: `TrivialClone`.
- `TypeRelation` changed a bit, the code was copied from rustc.
2025-12-16 17:00:44 +02:00
bit-aloo
376bca919e
Add bidirectional messaging proc-macro-srv
2025-12-15 19:28:13 +05:30
Chayim Refael Friedman
f0e372c3b6
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-11-29 18:52:18 +02:00
Lukas Wirth
bc3e7e1d5f
perf: Shrink InferenceResult by ~40 bytes
2025-11-29 11:47:30 +01:00
Chayim Refael Friedman
71088574d4
Pass the correct per-token (not global) edition when expanding macro_rules
...
This was hard to do because of the separation between `mbe` and `hir-expand`, but became possible by the Salsa migration, as now `SyntaxContext` doesn't require `ExpandDatabase`, `salsa::Database` is enough.
2025-11-28 10:30:10 +02:00
Lukas Wirth
0bc8802223
Gate spawning proc-macro-srv with --format on toolchain version
2025-11-26 17:30:45 +01:00
Chayim Refael Friedman
b5b4abac82
Merge pull request #21121 from Zalathar/derive-macro
...
Basic support for declarative attribute/derive macros
2025-11-24 21:02:28 +00:00
Zalathar
fe1469ebd1
Basic support for declarative attribute/derive macros
2025-11-24 21:50:56 +11:00
bit-aloo
f31214f96a
add postcard related methods to proc-macro-apo
2025-11-24 15:28:27 +05:30
Lukas Wirth
cf4b1faea3
Merge pull request #21097 from Veykril/push-zpqupukpkrts
...
proc-macro-srv: Reimplement token trees via immutable trees
2025-11-24 09:09:16 +00:00
Chayim Refael Friedman
cf0f1318f1
Upgrade rustc crates
...
Major changes:
- `GoalSource::InstantiateHigherRanked` was removed.
- `Interner::UnevaluatedConstId` was introduced, allowing further simplifications due to better typing. Generally we don't represent unevaluated consts like we should, but it's still better.
- `PatternKind::NotNull` was introduced.
2025-11-23 16:23:19 +02:00
Lukas Wirth
5409a40efc
Implement rpc protocol changes
2025-11-22 16:58:35 +01:00
Lukas Wirth
26f7400536
proc-macro-srv: Reimplement token trees via ropes
2025-11-22 13:27:08 +01:00
Shoyu Vanilla
66706b399f
Add toml as a dependency of project-model and unify version
2025-11-19 01:15:04 +09:00
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