2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 10:49:55 +00:00

fix: Move extern crate alloc to lib.rs

This commit is contained in:
k-nasa 2020-02-01 09:49:54 +09:00
parent f789f9d4f6
commit 0d90cb07b9
2 changed files with 2 additions and 4 deletions

View file

@ -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;

View file

@ -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.