Merge pull request #51 from Sh3Rm4n/main
Disable test harness for lib target
This commit is contained in:
@@ -6,6 +6,9 @@ publish = false
|
||||
edition = "2018"
|
||||
version = "0.1.0"
|
||||
|
||||
[lib]
|
||||
harness = false
|
||||
|
||||
[[test]]
|
||||
name = "test"
|
||||
harness = false
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#![no_std]
|
||||
#![cfg_attr(test, no_main)]
|
||||
|
||||
use {{crate_name}} as _; // memory layout + panic handler
|
||||
|
||||
#[defmt_test::tests]
|
||||
mod tests {}
|
||||
Reference in New Issue
Block a user