mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Update handlers.rs to handlers/requests.rs
This commit is contained in:
parent
546339a7be
commit
01aaa53ef2
4 changed files with 5 additions and 3 deletions
|
@ -29,7 +29,7 @@ export class Cargo {
|
|||
static artifactSpec(cargoArgs: string[], executableArgs?: string[]): ArtifactSpec {
|
||||
cargoArgs = [...cargoArgs, "--message-format=json"];
|
||||
// arguments for a runnable from the quick pick should be updated.
|
||||
// see crates\rust-analyzer\src\main_loop\handlers.rs, handle_code_lens
|
||||
// see crates\rust-analyzer\src\handlers\request.rs, handle_code_lens
|
||||
switch (cargoArgs[0]) {
|
||||
case "run":
|
||||
cargoArgs[0] = "build";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue