improvement: fix cargo doc invocation warning by making no_main conditional

This commit is contained in:
2020-07-09 20:26:51 -06:00
parent 92aa58f386
commit 57be162906

View File

@@ -7,7 +7,7 @@
#![deny(unsafe_code)]
#![no_std]
#![no_main]
#![cfg_attr(not(doc), no_main)]
//use panic_halt as _;
use core::panic::PanicInfo;