Merge pull request 'improvement: fix `cargo doc` invocation warning by making `no_main` conditional' (#2) from ErichDonGubler/blue_pill_base:fix-cargo-doc-warning into master

Reviewed-on: BluePill_Rust/blue_pill_base#2
Levi Pearson 2020-07-10 06:09:07 +00:00
commit 3572e55b67
1 changed files with 1 additions and 1 deletions

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;