diff options
| author | Toby Fleming <sourcecode@tobywf.com> | 2021-07-31 15:26:59 -0700 |
|---|---|---|
| committer | Toby Fleming <sourcecode@tobywf.com> | 2021-08-01 14:43:10 -0700 |
| commit | cb13e4a2ca6d2f4c19b6a9959288142dffc4c32c (patch) | |
| tree | 4f96815d1807809c2c7f84339e92935bfeb2ae56 /docs | |
| parent | df0936b4af7bd573dc8906b6dbdbf80ff40b75f3 (diff) | |
| download | rust-cb13e4a2ca6d2f4c19b6a9959288142dffc4c32c.tar.gz rust-cb13e4a2ca6d2f4c19b6a9959288142dffc4c32c.zip | |
Rust project supports proc-macro dependent crates
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/manual.adoc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 000a95b1003..6f00da3178a 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -578,6 +578,8 @@ interface Crate { /// the `env!` macro env: : { [key: string]: string; }, + /// Whether the crate is a proc-macro crate. + is_proc_macro: bool; /// For proc-macro crates, path to compiled /// proc-macro (.so file). proc_macro_dylib_path?: string; @@ -597,7 +599,7 @@ Specifically, the `roots` setup will be different eventually. There are three ways to feed `rust-project.json` to rust-analyzer: -* Place `rust-project.json` file at the root of the project, and rust-anlayzer will discover it. +* Place `rust-project.json` file at the root of the project, and rust-analyzer will discover it. * Specify `"rust-analyzer.linkedProjects": [ "path/to/rust-project.json" ]` in the settings (and make sure that your LSP client sends settings as a part of initialize request). * Specify `"rust-analyzer.linkedProjects": [ { "roots": [...], "crates": [...] }]` inline. |
