Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode tasks not working after recent update #17436

Closed
IDEDARY opened this issue Jun 17, 2024 · 1 comment · Fixed by #17440
Closed

VSCode tasks not working after recent update #17436

IDEDARY opened this issue Jun 17, 2024 · 1 comment · Fixed by #17440
Assignees
Labels
C-bug Category: bug

Comments

@IDEDARY
Copy link

IDEDARY commented Jun 17, 2024

VSCode tasks are broken again after latest update. Likely related: #16950

rust-analyzer version: v0.3.2002

rustc version: rustc 1.78.0 (9b00956e5 2024-04-29)

editor or extension: VSCode

relevant settings:

// .vscode/tasks.json
{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "cargo",
			"command": "run",
			"args": ["--bin", "example_minimal"],
			"problemMatcher": [
				"$rustc"
			],
			"group": "build",
			"label": "rust: cargo run"
		}
	]
}

Error:

Error: The cargo task detection didn't contribute a task for the following configuration:
{
    "type": "cargo",
    "command": "run",
    "problemMatcher": [
        "$rustc"
    ],
    "group": "build",
    "label": "rust: cargo run"
}
The task will be ignored.

STDOUT:

 *  Executing task: run --bin example_minimal 
 *  The terminal process failed to launch: Path to shell executable "run" does not exist.
@IDEDARY IDEDARY added the C-bug Category: bug label Jun 17, 2024
@pbl-pw
Copy link

pbl-pw commented Jun 17, 2024

same too

@Veykril Veykril self-assigned this Jun 17, 2024
@bors bors closed this as completed in 1bb376c Jun 17, 2024
lnicola pushed a commit to lnicola/rust that referenced this issue Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants