Skip to content

Comments

Fix the support for Cargo checking on Windows#34

Merged
andrefigas merged 1 commit intomainfrom
fix/support_for_cargo_checking_on_windows
Aug 7, 2025
Merged

Fix the support for Cargo checking on Windows#34
andrefigas merged 1 commit intomainfrom
fix/support_for_cargo_checking_on_windows

Conversation

@andrefigas
Copy link
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

@andrefigas andrefigas self-assigned this Aug 7, 2025
@andrefigas andrefigas added the bug Something isn't working label Aug 7, 2025
@andrefigas andrefigas merged commit 35416d1 into main Aug 7, 2025
1 check passed
@andrefigas andrefigas 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