run panics if lldb is not installed and no output is produced.. Index: rust/src/bootstrap/test.rs =================================================================== --- rust.orig/src/bootstrap/test.rs +++ rust/src/bootstrap/test.rs @@ -1631,7 +1631,11 @@ note: if you're sure you want to do this .ok(); if let Some(ref vers) = lldb_version { cmd.arg("--lldb-version").arg(vers); - let lldb_python_dir = run(Command::new(lldb_exe).arg("-P")).ok(); + let lldb_python_dir = Command::new(lldb_exe) + .arg("-P") + .output() + .map(|output| String::from_utf8_lossy(&output.stdout).to_string()) + .ok(); if let Some(ref dir) = lldb_python_dir { cmd.arg("--lldb-python-dir").arg(dir); }