Skip to content

Commit

Permalink
rust: Disable unittest coverage requirement for platform-specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Oct 4, 2022
1 parent 9521bf0 commit d747b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre_commit/languages/rust.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def install_rust_with_toolchain(toolchain: str) -> None:
with envcontext(rustup_env):
if rustup_exe is None:
# We did not detect rustup and need to download it first.
if sys.platform == 'win32':
if sys.platform == 'win32': # pragma: no cover
if platform.machine() == 'x86_64':
url = 'https://win.rustup.rs/x86_64'
else:
Expand Down

0 comments on commit d747b88

Please sign in to comment.