mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Respect the user-provided label when creating task
This commit is contained in:
parent
afe9cea640
commit
21b73f9844
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ export function createTask(spec: Runnable): vscode.Task {
|
||||||
const TASK_SOURCE = 'Rust';
|
const TASK_SOURCE = 'Rust';
|
||||||
const definition: CargoTaskDefinition = {
|
const definition: CargoTaskDefinition = {
|
||||||
type: 'cargo',
|
type: 'cargo',
|
||||||
label: 'cargo',
|
label: spec.label,
|
||||||
command: spec.bin,
|
command: spec.bin,
|
||||||
args: spec.args,
|
args: spec.args,
|
||||||
env: spec.env
|
env: spec.env
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue