aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <japaricious@gmail.com> 2017-03-08 14:07:50 -0500
committerGravatar Jorge Aparicio <japaricious@gmail.com> 2017-03-08 14:07:50 -0500
commit131339367b1a299834b975ce9caf79e049401a8b (patch)
treece3d7f792605bd8a306d670fdf507be25fa31b5a /src/lib.rs
parent559da5e265d4c1ac88c8bf07f5a4d317c922b408 (diff)
downloadcortex-m-131339367b1a299834b975ce9caf79e049401a8b.tar.gz
cortex-m-131339367b1a299834b975ce9caf79e049401a8b.tar.zst
cortex-m-131339367b1a299834b975ce9caf79e049401a8b.zip
remove the semihosting Cargo feature
make the semihosting macros always available
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9bdd74c..05fcee5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -8,7 +8,7 @@
//! - Data structures like the vector table
//! - Safe wrappers around assembly instructions like `bkpt`
-#![cfg_attr(feature = "semihosting", feature(macro_reexport))]
+#![feature(macro_reexport)]
#![cfg_attr(target_arch = "arm", feature(core_intrinsics))]
#![deny(missing_docs)]
#![deny(warnings)]
@@ -17,7 +17,6 @@
#![feature(naked_functions)]
#![no_std]
-#[cfg(feature = "semihosting")]
pub extern crate cortex_m_semihosting as semihosting;
extern crate volatile_register;