We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5f919e commit a412e54Copy full SHA for a412e54
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