Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5f919e + a412e54 commit fdb9edeCopy full SHA for fdb9ede
1 file changed
pre_commit/languages/rust.py
@@ -50,7 +50,6 @@ def _rust_toolchain(language_version: str) -> str:
50
51
def get_env_patch(target_dir: str, version: str) -> PatchesT:
52
return (
53
- ('CARGO_HOME', target_dir),
54
('PATH', (os.path.join(target_dir, 'bin'), os.pathsep, Var('PATH'))),
55
# Only set RUSTUP_TOOLCHAIN if we don't want use the system's default
56
# toolchain
0 commit comments