mu001999
bcb0e2207a
Remove unused features in tools
2026-03-04 08:06:36 +08:00
bit-aloo
ea60d3c0d9
add SpanParentResult and SpanParent
2026-02-19 09:35:50 +05:30
bit-aloo
736e40aa80
extend span source and span source result variant in message
2026-02-16 21:00:33 +05:30
Lukas Wirth
7d3705a43f
internal: Use rayon for proc-macro loading
2026-02-13 12:24:47 +01:00
bit-aloo
6334fee6d2
add suggested changes: have a internal error variant, comment on unwindsafe
2026-02-01 15:17:00 +05:30
bit-aloo
4d9ce88ea7
catch unwind on client side, and accordingly send Cancel subResponse to server
2026-02-01 15:15:09 +05:30
bit-aloo
765381cae8
add cancel variant to SubResponse
2026-02-01 15:14:20 +05:30
bit-aloo
fb675454a5
correct visibility of transport layer
2026-01-30 07:47:40 +05:30
bit-aloo
7af8c850b8
adapt proc-macro-api to remove codec abstraction
2026-01-30 00:11:52 +05:30
bit-aloo
977a1bba68
move json and postcard as top level api's
2026-01-30 00:10:09 +05:30
bit-aloo
c2f4472886
remove codec and framing
2026-01-30 00:09:31 +05:30
bit-aloo
c6398b0b8f
remove serialize from Expn Globals
2026-01-19 12:34:06 +05:30
bit-aloo
dae543080c
remove non-describing field annotation from bidirectional message definition
2026-01-19 12:33:23 +05:30
bit-aloo
d379776c01
rebased changes
2026-01-16 22:34:49 +05:30
bit-aloo
deee719d6b
optimize pick_process to short circuit and return as early as possible if a valid process is found
2026-01-16 22:31:03 +05:30
bit-aloo
d0c00b5c80
update all cli workflows
2026-01-16 22:31:03 +05:30
bit-aloo
7767fe723a
remove default pool size from pool
2026-01-16 22:31:03 +05:30
bit-aloo
06452610d7
remove expand from pool
2026-01-16 22:31:03 +05:30
bit-aloo
19a2994d8e
add version to pool
2026-01-16 22:31:03 +05:30
bit-aloo
d905d0f35b
pick workers which have not exited
2026-01-16 22:31:03 +05:30
bit-aloo
78879f9e5c
propagate error from load dylibs
2026-01-16 22:31:03 +05:30
bit-aloo
a1720ac275
change callback from FnMut to Fn as we only transform messages and not really change change state
2026-01-16 22:31:03 +05:30
bit-aloo
3ae99fc359
keep it clean and tidy
2026-01-16 22:31:03 +05:30
bit-aloo
db02abae15
rename process to pool in ProcMacro struct
2026-01-16 22:31:03 +05:30
bit-aloo
3fda2bc2f1
add better process picker and improve loading dylib
2026-01-16 22:31:03 +05:30
bit-aloo
1211bce8fa
direct client calls via pool
2026-01-16 22:31:01 +05:30
bit-aloo
6d31556dba
add pool of processes
2026-01-16 22:30:40 +05:30
bit-aloo
b69bf48962
add termination flag to procmacroserverprocess
2026-01-16 22:29:40 +05:30
bit-aloo
83abe016b7
add worker abstraction
2026-01-16 22:29:19 +05:30
bit-aloo
e3ceec44ed
remove flatten from ExpandMacro message in bidirectional messages
2026-01-14 16:34:57 +05:30
bit-aloo
b4b5761c66
remove postcard from legacy
2026-01-14 16:34:31 +05:30
Lukas Wirth
92b2168d26
Merge pull request #21439 from Veykril/push-okkmmxmnwyxm
...
internal: Land integration test infra for proc-macro-srv-cli
2026-01-12 06:47:11 +00:00
bit-aloo
dbfed079ba
add byte range subrequest/response
2026-01-11 15:08:07 +05:30
Lukas Wirth
72e5894aa7
internal: Landing integration test infra for proc-macro-srv-cli
2026-01-10 17:02:45 +01:00
Lukas Wirth
4341269540
Abstract proc-macro-srv input and output away
2026-01-10 16:11:01 +01: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
bit-aloo
49c15b2eeb
remove span related API from proc-macro-srv/cli/api and remove span from procmacrosrvcli
2026-01-03 20:10:00 +05:30
bit-aloo
cff51826dd
refactor subreq/resp variants to carry span
2026-01-03 19:15:42 +05:30
bit-aloo
26b3c82562
use fullpath instead of filename
2026-01-03 15:13:53 +05:30
bit-aloo
03d58fedb2
add bidirectional flow for local file method
2025-12-31 17:50:20 +05:30
bit-aloo
c734ae11e9
add bidirectional flow for file method
2025-12-31 17:50:14 +05:30
Lukas Wirth
11d62122de
Merge pull request #21362 from ChayimFriedman2/compress-spans-v2
...
internal: Preparations for span compression
2025-12-29 08:30:19 +00:00
Chayim Refael Friedman
819cdf0599
Make tt::Literal use one Symbol for the text and the suffix
...
That shrinks it, which is useless now (it's not the dominant factor), but will become important when we'll implement span compression.
2025-12-29 05:05:47 +02:00
Chayim Refael Friedman
d3d47b892d
Separate the public tt API from how they're stored
...
And don't provide any insight into the actual storage (no references, no "cheat" methods like `flat_tokens()`), as we're going to rewrite it to be more memory efficient.
2025-12-29 04:14:12 +02:00
Lukas Wirth
70d64cb2e6
minor: Remove unneded allocation in proc-macro-srv-cli
2025-12-28 10:17:37 +01: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
6d10c6892a
make framing buffer send
2025-12-27 17:41:16 +05:30
bit-aloo
41dade9006
return error on combination of bidirectional message and json framing
2025-12-23 23:14:47 +05:30
bit-aloo
336f025424
remove internal callbacks, and move callback to rust-analyzer level
2025-12-23 07:58:53 +05:30
bit-aloo
a79fa074fe
remove envelop and keep it simple
2025-12-22 20:04:35 +05:30