We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extern crate alloc
1 parent f789f9d commit 0d90cb0Copy full SHA for 0d90cb0
src/lib.rs
@@ -230,6 +230,8 @@
230
#![doc(html_logo_url = "https://async.rs/images/logo--hero.svg")]
231
#![recursion_limit = "2048"]
232
233
+extern crate alloc;
234
+
235
#[macro_use]
236
mod utils;
237
src/utils.rs
@@ -1,7 +1,3 @@
1
-#[cfg(feature = "alloc")]
2
-extern crate alloc;
3
-
4
5
use alloc::string::String;
6
7
/// Calls a function and aborts if it panics.
0 commit comments