aboutsummaryrefslogtreecommitdiff
path: root/src/rust_string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust_string.rs')
-rw-r--r--src/rust_string.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rust_string.rs b/src/rust_string.rs
index 051e35c3..0e0c5a83 100644
--- a/src/rust_string.rs
+++ b/src/rust_string.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "alloc")]
#![allow(missing_docs)]
use alloc::string::String;