Skip to content

Commit

Permalink
fix: warning on elf name with no outdir
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy committed Jan 17, 2025
1 parent e09eeed commit cfdf2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/build/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn execute_build_program(
std::fs::copy(&elf_path, &output_path)?;
}
} else if args.elf_name.is_some() {
println!("cargo:warning=ELF name is set but --output-directory is not used");
println!("cargo:warning=ELF name is set but --output-directory is not used, the ELF will be place in the `target/` directory");
}

print_elf_paths_cargo_directives(&target_elf_paths);
Expand Down

0 comments on commit cfdf2df

Please sign in to comment.