aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/script/build.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/build.rs b/components/script/build.rs
index d002cdb6982..2bc449dcdef 100644
--- a/components/script/build.rs
+++ b/components/script/build.rs
@@ -67,9 +67,9 @@ impl<'a> phf_shared::PhfHash for Bytes<'a> {
fn find_python() -> String {
env::var("PYTHON3").ok().unwrap_or_else(|| {
let candidates = if cfg!(windows) {
- ["python3.8.exe", "python38.exe", "python.exe"]
+ ["python.exe", "python"]
} else {
- ["python3.8", "python3", "python"]
+ ["python3", "python"]
};
for &name in &candidates {
if Command::new(name)