mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-27 04:40:27 +00:00
Improve print_arguments
This commit is contained in:
parent
248b075976
commit
66088e8591
@ -134,7 +134,7 @@ fn install(args: InstallOpts) -> Result<()> {
|
||||
&llvm_version,
|
||||
arch
|
||||
);
|
||||
print_arguments(&args);
|
||||
print_arguments(&args, arch, &targets, &llvm_version);
|
||||
let mut exports: Vec<String> = Vec::new();
|
||||
|
||||
check_rust_installation(&args.nightly_version);
|
||||
|
@ -321,9 +321,9 @@ async fn fetch_url(url: String, output: String) -> Result<(), String> {
|
||||
};
|
||||
}
|
||||
|
||||
pub fn print_arguments(args: &InstallOpts) {
|
||||
pub fn print_arguments(args: &InstallOpts, arch: &str, targets: &Vec<Chip>, llvm_version: &str) {
|
||||
println!(
|
||||
"{} Installing esp-rs with:
|
||||
"{} Installing esp-rs for {} with:
|
||||
- Build targets: {:?}
|
||||
- Cargo home: {:?}
|
||||
- Clear cache: {:?}
|
||||
@ -337,13 +337,14 @@ pub fn print_arguments(args: &InstallOpts) {
|
||||
- Toolchain version: {:?}
|
||||
- Toolchain destination: {:?}",
|
||||
DISC,
|
||||
args.build_target,
|
||||
arch,
|
||||
targets,
|
||||
&args.cargo_home,
|
||||
args.clear_cache,
|
||||
&args.espidf_version,
|
||||
&args.export_file,
|
||||
args.extra_crates,
|
||||
args.llvm_version,
|
||||
llvm_version,
|
||||
&args.minified_espidf,
|
||||
args.nightly_version,
|
||||
&args.rustup_home,
|
||||
|
Loading…
x
Reference in New Issue
Block a user