Merge pull request #51 from Sh3Rm4n/main

Disable test harness for lib target
This commit is contained in:
Johann Hemmann
2021-06-06 23:33:41 +02:00
committed by GitHub
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -6,6 +6,9 @@ publish = false
edition = "2018" edition = "2018"
version = "0.1.0" version = "0.1.0"
[lib]
harness = false
[[test]] [[test]]
name = "test" name = "test"
harness = false harness = false
+7
View File
@@ -0,0 +1,7 @@
#![no_std]
#![cfg_attr(test, no_main)]
use {{crate_name}} as _; // memory layout + panic handler
#[defmt_test::tests]
mod tests {}