Fix ordering of prefer-system toolchain preference (#4441)

Whoopsies!
This commit is contained in:
Zanie Blue
2024-06-22 10:42:51 -04:00
committed by GitHub
parent 895f202b77
commit 8f2d8b3f4f
+3 -3
View File
@@ -329,9 +329,9 @@ fn python_executables_from_installed<'a>(
.chain(from_py_launcher),
),
ToolchainPreference::PreferSystem => Box::new(
from_managed_toolchains
.chain(from_search_path)
.chain(from_py_launcher),
from_search_path
.chain(from_py_launcher)
.chain(from_managed_toolchains),
),
ToolchainPreference::OnlySystem => Box::new(from_search_path.chain(from_py_launcher)),
}