diff options
author | 2020-01-07 21:19:09 +0100 | |
---|---|---|
committer | 2020-01-07 21:19:09 +0100 | |
commit | 5fdbab999bc849fd41e376f5f97f03fdf85c7442 (patch) | |
tree | 3f332dd001430c7fcd7ff65a17a640dfb3614c75 /cortex-m-rt/tests/compiletest.rs | |
parent | 2f5a6487cfd94d6ccde3128c82fa43bddd2d228f (diff) | |
download | cortex-m-5fdbab999bc849fd41e376f5f97f03fdf85c7442.tar.gz cortex-m-5fdbab999bc849fd41e376f5f97f03fdf85c7442.tar.zst cortex-m-5fdbab999bc849fd41e376f5f97f03fdf85c7442.zip |
Updated per comments
Diffstat (limited to 'cortex-m-rt/tests/compiletest.rs')
-rw-r--r-- | cortex-m-rt/tests/compiletest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/tests/compiletest.rs b/cortex-m-rt/tests/compiletest.rs index 6cea3ac..82dda07 100644 --- a/cortex-m-rt/tests/compiletest.rs +++ b/cortex-m-rt/tests/compiletest.rs @@ -9,7 +9,7 @@ fn run_mode(mode: &'static str) { 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".to_owned()); + 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); |