You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, rustup needs to be in the PATH used by VS Code. This is not flexible enough for some use cases. See the comment here.
For improved flexibility, we could add an optional configuration field specifying the PATH to be used in place of the one available to VS Code. When such field is empty, Prusti Assitant should still use VS Code's PATH as it currently does.
It is necessary to configure the full PATH instead of just rustup's path, because Prusti internally searches for rustup in the PATH that we pass via Prusti Assistant.
Relevant source files:
Declaration of the configuration fields: package.json
Currently,
rustup
needs to be in thePATH
used by VS Code. This is not flexible enough for some use cases. See the comment here.For improved flexibility, we could add an optional configuration field specifying the
PATH
to be used in place of the one available to VS Code. When such field is empty, Prusti Assitant should still use VS Code'sPATH
as it currently does.It is necessary to configure the full
PATH
instead of justrustup
's path, because Prusti internally searches forrustup
in thePATH
that we pass via Prusti Assistant.Relevant source files:
package.json
config.ts
rustup
:rustup.ts
,check.ts
process.env
:diagnostics.ts
,server.ts
The text was updated successfully, but these errors were encountered: