mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Add custom cargo runners
This commit is contained in:
parent
c544f9a137
commit
a43a9103bc
6 changed files with 72 additions and 55 deletions
|
@ -110,6 +110,10 @@ export class Config {
|
|||
};
|
||||
}
|
||||
|
||||
get cargoRunner() {
|
||||
return this.get<string | undefined>("cargoRunner");
|
||||
}
|
||||
|
||||
get debug() {
|
||||
// "/rustc/<id>" used by suggestions only.
|
||||
const { ["/rustc/<id>"]: _, ...sourceFileMap } = this.get<Record<string, string>>("debug.sourceFileMap");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue