pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/pre-commit/pre-commit/commit/a412e5492da8cdac6642b50cc3907db06edec109

="https://github.githubassets.com/assets/global-d18f184ea1a06a2c.css" /> don't set CARGO_HOME in rust · pre-commit/pre-commit@a412e54 · GitHub
Skip to content

Commit a412e54

Browse files
committed
don't set CARGO_HOME in rust
this adds a 270 MB registry cache in the output
1 parent d5f919e commit a412e54

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

pre_commit/languages/rust.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def _rust_toolchain(language_version: str) -> str:
5050

5151
def get_env_patch(target_dir: str, version: str) -> PatchesT:
5252
return (
53-
('CARGO_HOME', target_dir),
5453
('PATH', (os.path.join(target_dir, 'bin'), os.pathsep, Var('PATH'))),
5554
# Only set RUSTUP_TOOLCHAIN if we don't want use the system's default
5655
# toolchain

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy