diff --git a/config.toml.example b/config.toml.example index 9121d1e179926..f3d744fc1eec0 100644 --- a/config.toml.example +++ b/config.toml.example @@ -171,7 +171,7 @@ # rustdoc tests, the lldb python interpreter, and some dist bits and pieces. # # Defaults to the Python interpreter used to execute x.py. -#python = "python" +#python = "python3" # Force Cargo to check that Cargo.lock describes the precise dependency # set that all the Cargo.toml files create, instead of updating it. diff --git a/x.py b/x.py index 7973730ef177c..6186ebb5d48a5 100755 --- a/x.py +++ b/x.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # This file is only a "symlink" to bootstrap.py, all logic should go there.