Browse Source

Cargo fmt

pull/21/head
Steve Cook 2 years ago
parent
commit
84ac10371b
  1. 6
      src/lib.rs

6
src/lib.rs

@ -22,14 +22,12 @@ pub fn get_should_link(input: &mut Input) -> bool {
// When running compile only commands, don't link the executable to the 3ds. // When running compile only commands, don't link the executable to the 3ds.
// Otherwise, link and run on the 3ds but do not run locally. // Otherwise, link and run on the 3ds but do not run locally.
match input.cmd { match input.cmd {
CargoCommand::Run => { CargoCommand::Run => true,
true
}
CargoCommand::Test if !input.cargo_opts.contains(&"--no-run".to_string()) => { CargoCommand::Test if !input.cargo_opts.contains(&"--no-run".to_string()) => {
input.cargo_opts.push("--no-run".to_string()); input.cargo_opts.push("--no-run".to_string());
true true
} }
_ => false _ => false,
} }
} }

Loading…
Cancel
Save