Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[win-arm64] Build without rustls package #674

Merged
merged 3 commits into from
Nov 10, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import toml
from setuptools import setup
from setuptools.command.install import install
from setuptools._distutils.util import get_platform

# Force the wheel to be platform specific
# https://stackoverflow.com/a/45150383/3549270
Expand Down Expand Up @@ -69,7 +70,10 @@ def run(self):
"--message-format=json",
]

if platform.machine() in ("ppc64le", "ppc64", "powerpc"):
if (
platform.machine() in ("ppc64le", "ppc64", "powerpc")
or get_platform() == "win-arm64"
messense marked this conversation as resolved.
Show resolved Hide resolved
):
cargo_args.extend(
["--no-default-features", "--features=upload,log,human-panic"]
)
Expand Down