1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-07 20:02:17 +02:00

Print the exercise solution on check

This commit is contained in:
mo8it 2024-06-01 21:51:45 +02:00
parent 50530fa3cf
commit a3ada0eee8

View File

@ -171,6 +171,7 @@ fn check_solutions(info_file: &InfoFile) -> Result<()> {
continue;
}
println!("Running the solution of {}", exercise_info.name);
let success = exercise_info.run_solution(&mut output, &target_dir)?;
if !success {
io::stderr().write_all(&output)?;