mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
Hide cargo build
warnings if there is no output
This commit is contained in:
parent
455d87cadd
commit
33a5680328
|
@ -103,7 +103,7 @@ pub trait RunnableExercise {
|
||||||
args: &[],
|
args: &[],
|
||||||
bin_name,
|
bin_name,
|
||||||
description: "cargo build …",
|
description: "cargo build …",
|
||||||
hide_warnings: false,
|
hide_warnings: output.is_none(),
|
||||||
target_dir,
|
target_dir,
|
||||||
output: output.as_deref_mut(),
|
output: output.as_deref_mut(),
|
||||||
dev,
|
dev,
|
||||||
|
|
Loading…
Reference in a new issue