Skip to content

Commit 3213344

Browse files
committed
Auto merge of #15534 - rust-lang:Veykril-patch-1, r=Veykril
Update architecture.md
2 parents b06503b + ea74cc4 commit 3213344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dev/architecture.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ They are independent from the rest of the code.
268268
And it also handles the actual parsing and expansion of declarative macro (a-la "Macros By Example" or mbe).
269269

270270
For proc macros, the client-server model are used.
271-
We pass an argument `--proc-macro` to `rust-analyzer` binary to start a separate process (`proc_macro_srv`).
271+
We start a separate process (`proc_macro_srv`) which loads and runs the proc-macros for us.
272272
And the client (`proc_macro_api`) provides an interface to talk to that server separately.
273273

274274
And then token trees are passed from client, and the server will load the corresponding dynamic library (which built by `cargo`).

0 commit comments

Comments
 (0)