Reexport unborrow macro in HALs

This commit is contained in:
Matous Hybl
2022-03-27 19:29:29 +02:00
parent fee0aef076
commit eb6910fa86
5 changed files with 10 additions and 2 deletions

View File

@ -9,6 +9,9 @@ pub use stm32_metapac as pac;
#[cfg(not(feature = "unstable-pac"))]
pub(crate) use stm32_metapac as pac;
pub use embassy::util::Unborrow;
pub use embassy_hal_common::unborrow;
// This must go FIRST so that all the other modules see its macros.
pub mod fmt;
include!(concat!(env!("OUT_DIR"), "/_macros.rs"));