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

Feature request: Option to specify path to cargo #359

Open
hehaoqian opened this issue Jun 25, 2023 · 0 comments
Open

Feature request: Option to specify path to cargo #359

hehaoqian opened this issue Jun 25, 2023 · 0 comments

Comments

@hehaoqian
Copy link

Option to specify absolute path to cargo.
Or alternatively, option to specify the environment variable when run cargo,
so I can change PATH to select alternative cargo,
which I currently do in Rust analyzer

Rational:
Our project mixes use of C/C++, Python and Rust, with matrixes of target CPU and compiler toolchain.
Currently each configuration is setup by a bash script named cargo, which wraps the original cargo,
and setups needed environment variables for cargo.
So the cargo in the PATH when VSCode starts cannot be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant