Skip to content

Commit 38eb369

Browse files
GuillaumeGomezMark-Simulacrum
authored andcommittedApr 10, 2020
Enforce Python 3 as much as possible
1 parent 42abbd8 commit 38eb369

File tree

62 files changed

+131
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+131
-111
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ or reading the [rustc dev guide][rustcguidebuild].
2727
1. Make sure you have installed the dependencies:
2828

2929
* `g++` 5.1 or later or `clang++` 3.5 or later
30-
* `python` 2.7 (but not 3.x)
30+
* `python` 3 or 2.7
3131
* GNU `make` 3.81 or later
3232
* `cmake` 3.4.3 or later
3333
* `curl`
@@ -113,7 +113,7 @@ build.
113113
make \
114114
diffutils \
115115
tar \
116-
mingw-w64-x86_64-python2 \
116+
mingw-w64-x86_64-python \
117117
mingw-w64-x86_64-cmake \
118118
mingw-w64-x86_64-gcc
119119
```

‎config.toml.example

+2-4
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,9 @@
168168

169169
# Python interpreter to use for various tasks throughout the build, notably
170170
# rustdoc tests, the lldb python interpreter, and some dist bits and pieces.
171-
# Note that Python 2 is currently required.
172171
#
173-
# Defaults to python2.7, then python2. If neither executable can be found, then
174-
# it defaults to the Python interpreter used to execute x.py.
175-
#python = "python2.7"
172+
# Defaults to the Python interpreter used to execute x.py.
173+
#python = "python"
176174

177175
# Force Cargo to check that Cargo.lock describes the precise dependency
178176
# set that all the Cargo.toml files create, instead of updating it.

0 commit comments

Comments
 (0)
Please sign in to comment.