Add more logging to diagnose toolchain selection issue
Change-Id: I7a57dffefeb0b66e26846717016803e2f0c73c7d
diff --git a/src/lib.rs b/src/lib.rs
index ca34272..e2c4952 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -398,6 +398,8 @@
println!("rustflags_env_name: {:?}", rustflags_env_name);
println!("linker_env_name: {:?}", linker_env_name);
println!("rustc_env_name: {:?}", rustc_env_name);
+ println!("rustc_path: {:?}", rustc_path(target_options)?.to_str().unwrap());
+ println!("cargo_path: {:?}", cargo_path(target_options)?.to_str().unwrap());
}
cmd.env(runner_env_name, fargo_command)