aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.rs')
-rw-r--r--src/compiler.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs
index a5b2bf5..bb08745 100644
--- a/src/compiler.rs
+++ b/src/compiler.rs
@@ -10,7 +10,13 @@ use crate::util::{
slice::{Position, Slice},
};
use crate::{LineEnding, Options};
-use std::str;
+use alloc::{
+ format,
+ string::{String, ToString},
+ vec,
+ vec::Vec,
+};
+use core::str;
/// Link or image, resource or reference.
/// Reused for temporary definitions as well, in the first pass.