Skip to content

Commit 5e9e896

Browse files
Add rust-analyzer.toml (pgcentralfoundation#2179)
This allows the repo to work for anyone using an r-a-based editor, regardless of whether it's VS Code or Helix or whatever.
1 parent 0189c69 commit 5e9e896

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

rust-analyzer.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
cargo.allFeatures = false
2+
cargo.buildScripts.overrideCommand = [
3+
"cargo",
4+
"check",
5+
"--quiet",
6+
"--workspace",
7+
"--message-format=json",
8+
"--features",
9+
"pg18", # ideally we'd use cargo.features but r-a whines that cargo-pgrx does not have "pg18"
10+
"--keep-going",
11+
]

0 commit comments

Comments
 (0)