We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 120e427 commit 1bc73f1Copy full SHA for 1bc73f1
setuptools_rust/build.py
@@ -28,15 +28,18 @@
28
from ._utils import format_called_process_error
29
from .command import RustCommand
30
from .extension import Binding, RustBin, RustExtension, Strip
31
-from .rustc_info import get_rust_host, get_rust_target_list, get_rustc_cfgs, get_rust_version
+from .rustc_info import (
32
+ get_rust_host,
33
+ get_rust_target_list,
34
+ get_rustc_cfgs,
35
+ get_rust_version,
36
+)
37
from semantic_version import Version
38
39
40
def _detect_toolchain_1_70_or_later() -> bool:
41
version = get_rust_version()
- return version.major > 1 or (
- version.major == 1 and version.minor >= 70
- )
42
+ return version.major > 1 or (version.major == 1 and version.minor >= 70)
43
44
45
class build_rust(RustCommand):
0 commit comments