Skip to content

Commit

Permalink
Make build scripts and proc macros work with the suggested rust-analy…
Browse files Browse the repository at this point in the history
…zer config (rust-lang#1365)
  • Loading branch information
Jonas Schievink authored Jun 7, 2022
1 parent 4383648 commit 6e4d643
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/building/suggested.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,16 @@ you can write: <!-- date: 2022-04 --><!-- the date comment is for the edition be
"--edition=2021"
],
"editor.formatOnSave": true,
"rust-analyzer.cargo.buildScripts.enable": false,
"rust-analyzer.cargo.buildScripts.enable": true,
"rust-analyzer.cargo.buildScripts.overrideCommand": [
"cargo",
"check",
"-p",
"rustc_driver",
"--message-format=json"
],
"rust-analyzer.rustc.source": "./Cargo.toml",
"rust-analyzer.procMacro.enable": false
"rust-analyzer.procMacro.enable": true,
}
```

Expand Down

0 comments on commit 6e4d643

Please sign in to comment.