mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
prettier format
This commit is contained in:
parent
e9c8a84a35
commit
9a207be986
1 changed files with 13 additions and 14 deletions
|
@ -6,7 +6,7 @@ import type * as ra from "./lsp_ext";
|
|||
import { Cargo } from "./toolchain";
|
||||
import type { Ctx } from "./ctx";
|
||||
import { createTaskFromRunnable, prepareEnv } from "./run";
|
||||
import { execSync } from 'node:child_process';
|
||||
import { execSync } from "node:child_process";
|
||||
import { execute, isCargoRunnableArgs, unwrapUndefinable } from "./util";
|
||||
import type { Config } from "./config";
|
||||
|
||||
|
@ -237,15 +237,15 @@ const knownEngines: {
|
|||
runnableArgs.executableArgs,
|
||||
],
|
||||
additional: {
|
||||
"sourceMap": [
|
||||
sourceMap: [
|
||||
[
|
||||
`/rustc/${/commit-hash:\s(.*)$/m.exec(execSync("rustc -V -v", {}).toString())?.[1]
|
||||
}/library`,
|
||||
"${config:rust-analyzer.cargo.sysroot}/lib/rustlib/src/rust/library"
|
||||
|
||||
]
|
||||
]
|
||||
}
|
||||
`/rustc/${/commit-hash:\s(.*)$/m.exec(
|
||||
execSync("rustc -V -v", {}).toString(),
|
||||
)?.[1]}/library`,
|
||||
"${config:rust-analyzer.cargo.sysroot}/lib/rustlib/src/rust/library",
|
||||
],
|
||||
],
|
||||
},
|
||||
},
|
||||
"vadimcn.vscode-lldb": {
|
||||
type: "lldb",
|
||||
|
@ -366,7 +366,6 @@ type LldbDapDebugConfig = {
|
|||
sourceMap: [string, string][];
|
||||
} & BaseDebugConfig<"lldb-dap">;
|
||||
|
||||
|
||||
type CodeLldbDebugConfig = {
|
||||
program: string;
|
||||
args: string[];
|
||||
|
|
Loading…
Reference in a new issue