Skip to content

Fix the support for Cargo checking on Windows#34

Merged
devandrefigueiredo merged 1 commit into
mainfrom
fix/support_for_cargo_checking_on_windows
Aug 7, 2025
Merged

Fix the support for Cargo checking on Windows#34
devandrefigueiredo merged 1 commit into
mainfrom
fix/support_for_cargo_checking_on_windows

Conversation

@devandrefigueiredo
Copy link
Copy Markdown
Owner

When support was added for installations in non-default folders, a check was introduced to verify whether the Cargo executable actually exists before proceeding.

However, the .exe extension required on Windows was not taken into account during this validation. As a result, the check would fail on Windows systems even if the executable was correctly installed.

This PR fixes that issue by ensuring the check properly includes the .exe extension on Windows platforms.

Closes #32

@devandrefigueiredo devandrefigueiredo self-assigned this Aug 7, 2025
@devandrefigueiredo devandrefigueiredo added the bug Something isn't working label Aug 7, 2025
@devandrefigueiredo devandrefigueiredo merged commit 35416d1 into main Aug 7, 2025
1 check passed
@devandrefigueiredo devandrefigueiredo deleted the fix/support_for_cargo_checking_on_windows branch August 7, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin doesn't respect CARGO_HOME environment variable

1 participant