fix: Move `extern crate alloc` to lib.rs

split-by-pattern
k-nasa 5 years ago
parent f789f9d4f6
commit 0d90cb07b9

@ -230,6 +230,8 @@
#![doc(html_logo_url = "https://async.rs/images/logo--hero.svg")]
#![recursion_limit = "2048"]
extern crate alloc;
#[macro_use]
mod utils;

@ -1,7 +1,3 @@
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "alloc")]
use alloc::string::String;
/// Calls a function and aborts if it panics.

Loading…
Cancel
Save