forked from BluePill_Rust/blue_pill_base
improvement: fix `cargo doc` invocation warning by making `no_main` conditional
parent
92aa58f386
commit
57be162906
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#![deny(unsafe_code)]
|
#![deny(unsafe_code)]
|
||||||
#![no_std]
|
#![no_std]
|
||||||
#![no_main]
|
#![cfg_attr(not(doc), no_main)]
|
||||||
|
|
||||||
//use panic_halt as _;
|
//use panic_halt as _;
|
||||||
use core::panic::PanicInfo;
|
use core::panic::PanicInfo;
|
||||||
|
|
Loading…
Reference in New Issue