diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2022-10-16 11:52:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-16 11:52:01 +0200 |
| commit | 88d0efc243f29aa018ef9dc8cd2ebf8e4451402d (patch) | |
| tree | e8829992536b7fe98780af26419521b7e68415a5 | |
| parent | c09151c61934edd3cc685263f2955a76d168b644 (diff) | |
| download | rust-88d0efc243f29aa018ef9dc8cd2ebf8e4451402d.tar.gz rust-88d0efc243f29aa018ef9dc8cd2ebf8e4451402d.zip | |
Update guide.md to reflect support for proc-macros
| -rw-r--r-- | docs/dev/guide.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/dev/guide.md b/docs/dev/guide.md index c9ff0b6c29e..52a13da31c5 100644 --- a/docs/dev/guide.md +++ b/docs/dev/guide.md @@ -88,9 +88,8 @@ is lower than Cargo's model of packages: each Cargo package consists of several targets, each of which is a separate crate (or several crates, if you try different feature combinations). -Procedural macros should become inputs as well, but currently they are not -supported. Procedural macro will be a black box `Box<dyn Fn(TokenStream) -> TokenStream>` -function, and will be inserted into the crate graph just like dependencies. +Procedural macros are inputs as well, roughly modeled as a crate with a bunch of +additional black box `dyn Fn(TokenStream) -> TokenStream` functions. Soon we'll talk how we build an LSP server on top of `Analysis`, but first, let's deal with that paths issue. |
