aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compiletest.rs
diff options
context:
space:
mode:
authorGravatar Daniel Egger <daniel@eggers-club.de> 2020-07-21 01:29:57 +0200
committerGravatar Daniel Egger <daniel@eggers-club.de> 2020-07-21 01:39:46 +0200
commit05f19e7ffccd376fca5cbc80f37faee44aaafff2 (patch)
tree5ba487d23bf975d55c66a48b955c6b4288930e82 /cortex-m-rt/tests/compiletest.rs
parent282d64bf688c7cb76efe5394a7cf56275b2a919c (diff)
downloadcortex-m-05f19e7ffccd376fca5cbc80f37faee44aaafff2.tar.gz
cortex-m-05f19e7ffccd376fca5cbc80f37faee44aaafff2.tar.zst
cortex-m-05f19e7ffccd376fca5cbc80f37faee44aaafff2.zip
Run rustfmt to make CI happier
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
Diffstat (limited to '')
-rw-r--r--cortex-m-rt/tests/compiletest.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/cortex-m-rt/tests/compiletest.rs b/cortex-m-rt/tests/compiletest.rs
index 82dda07..ba2ef73 100644
--- a/cortex-m-rt/tests/compiletest.rs
+++ b/cortex-m-rt/tests/compiletest.rs
@@ -8,8 +8,9 @@ fn run_mode(mode: &'static str) {
config.mode = mode.parse().expect("Invalid mode");
config.src_base = PathBuf::from(format!("tests/{}", mode));
// config.link_deps(); // Populate config.target_rustcflags with dependencies on the path
- config.target_rustcflags =
- Some("-L target/debug -L target/debug/deps -C panic=abort --cfg feature=\"device\"".to_owned());
+ config.target_rustcflags = Some(
+ "-L target/debug -L target/debug/deps -C panic=abort --cfg feature=\"device\"".to_owned(),
+ );
// config.clean_rmeta(); // If your tests import the parent crate, this helps with E0464
compiletest::run_tests(&config);