diff --git a/setup.py b/setup.py index d65aa7654..b7de2b135 100644 --- a/setup.py +++ b/setup.py @@ -69,7 +69,9 @@ def run(self): "--message-format=json", ] - if platform.machine() in ("ppc64le", "ppc64", "powerpc"): + if platform.machine() in ("ppc64le", "ppc64", "powerpc") or ( + sys.platform == "win32" and platform.machine() == "ARM64" + ): cargo_args.extend( ["--no-default-features", "--features=upload,log,human-panic"] )