Merge pull request #51 from Sh3Rm4n/main

Disable test harness for lib target
This commit is contained in:
Johann Hemmann authored and GitHub committed 2021-06-06 23:33:41 +02:00
commit 52981902eb
2 files changed
+10

No files matched your search

+3
View File
@@ -6,6 +6,9 @@ publish = false
edition = "2018"
version = "0.1.0"
[lib]
harness = false
[[test]]
name = "test"
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 {}