rust/crates
bors 6133e27b83 Auto merge of #14070 - Veykril:proc-macro-api, r=Veykril
Implement proc-macro-api versioning

So as it stands, we can't really change the proc-macro-api protocol at all without breaking all proc-macro servers again. To somewhat alleviate this we can move the supported ABI mess over to the proc-macro-api now by supporting multiple versions there (versions defined by us at least, not by rustc). Since the proc-macro-api protocol has no versioning scheme at the moment though, the best we can do here is add a new request to query the version from a server. Due to how the server currently works though, if it encounters an unknown request it will exit, meaning we can check if it is a server without support by checking if it exited after our version check request, that way we can support the current circulating server as well.

We need this since our span type will change from `TokenId` to something else at some point, but for that to work we need to comply with that the server expects. So knowing the version the server is using we can decide whether to send our new span data, or the tokenid (assuming we keep that information with our span data as well, alternatively we send irrelevant tokenids). That way we can keep old servers working while the user installations slowly migrate to newer servers that support the new spandata.
2023-02-03 09:41:24 +00:00
..
base-db Make tt generic over the span data 2023-01-31 14:58:16 +01:00
cfg Make tt generic over the span data 2023-01-31 14:58:16 +01:00
flycheck Auto merge of #13969 - Veykril:workspace.dependencies, r=Veykril 2023-01-17 10:29:27 +00:00
hir Auto merge of #14065 - lowr:patch/generate-generic-function, r=Veykril 2023-02-02 09:06:22 +00:00
hir-def Make tt generic over the span data 2023-01-31 14:58:16 +01:00
hir-expand Auto merge of #14036 - Veykril:write-method-resolution, r=Veykril 2023-02-01 10:23:33 +00:00
hir-ty fix: support non-ascii characters in case conversion 2023-02-03 18:11:11 +09:00
ide Auto merge of #14058 - gftea:master, r=Veykril 2023-02-01 20:00:19 +00:00
ide-assists Treat scope info retrieval failure as assist failure 2023-02-02 17:47:11 +09:00
ide-completion Set "current" edition to 2021 2023-01-31 10:51:43 +00:00
ide-db Auto merge of #14065 - lowr:patch/generate-generic-function, r=Veykril 2023-02-02 09:06:22 +00:00
ide-diagnostics Auto merge of #13969 - Veykril:workspace.dependencies, r=Veykril 2023-01-17 10:29:27 +00:00
ide-ssr Auto merge of #13969 - Veykril:workspace.dependencies, r=Veykril 2023-01-17 10:29:27 +00:00
intern Bump once_cell 2023-01-21 08:48:46 +02:00
limit Specify authors, edition and license via workspace.package 2023-01-16 16:44:00 +01:00
mbe Make tt generic over the span data 2023-01-31 14:58:16 +01:00
parser Parse const_closures syntax. 2023-01-19 15:40:07 +01:00
paths Specify authors, edition and license via workspace.package 2023-01-16 16:44:00 +01:00
proc-macro-api Auto merge of #14070 - Veykril:proc-macro-api, r=Veykril 2023-02-03 09:41:24 +00:00
proc-macro-srv Fail spawning proc-macro servers when their api version is newer than r-a's 2023-02-03 10:38:38 +01:00
proc-macro-srv-cli Auto merge of #13969 - Veykril:workspace.dependencies, r=Veykril 2023-01-17 10:29:27 +00:00
proc-macro-test Auto merge of #13969 - Veykril:workspace.dependencies, r=Veykril 2023-01-17 10:29:27 +00:00
profile Bump zip 2023-02-01 19:24:32 +02:00
project-model Set "current" edition to 2021 2023-01-31 10:51:43 +00:00
rust-analyzer Make tt generic over the span data 2023-01-31 14:58:16 +01:00
sourcegen Specify authors, edition and license via workspace.package 2023-01-16 16:44:00 +01:00
stdx fix: support non-ascii characters in case conversion 2023-02-03 18:11:11 +09:00
syntax Support generic function in generate_function assist 2023-01-31 21:05:25 +09:00
test-utils Auto merge of #14036 - Veykril:write-method-resolution, r=Veykril 2023-02-01 10:23:33 +00:00
text-edit Specify authors, edition and license via workspace.package 2023-01-16 16:44:00 +01:00
toolchain Specify authors, edition and license via workspace.package 2023-01-16 16:44:00 +01:00
tt Make tt generic over the span data 2023-01-31 14:58:16 +01:00
vfs fix: Fix process-changes not deduplicating changes correctly 2023-01-25 15:01:15 +01:00
vfs-notify Auto merge of #13969 - Veykril:workspace.dependencies, r=Veykril 2023-01-17 10:29:27 +00:00