Skip to content

Commit 222e673

Browse files
committed
Make setup.py install a stable version of rustc instead of nightly
1 parent 3d9d09d commit 222e673

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,8 @@ def run(self):
3939
rustc = get_rust_version()
4040
nightly = rustc.prerelease is not None and "nightly" in rustc.prerelease
4141
except DistutilsPlatformError:
42-
if sys.platform in ("linux", "darwin"):
43-
self.setup_temp_rustc_unix(toolchain="nightly", profile="minimal")
44-
nightly = True
45-
else:
46-
nightly = False
42+
self.setup_temp_rustc_unix(toolchain="stable", profile="minimal")
43+
nightly = False
4744

4845
if self.inplace:
4946
self.extensions[0].strip = rust.Strip.No

0 commit comments

Comments
 (0)