Skip to content

Commit ea33e32

Browse files
Chore: Add explicit used import to have support on wasm.
1 parent 43bd85f commit ea33e32

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

compiler/src/modules/vm/builtins.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// vm/builtins.rs
22

33
use super::VM;
4-
use core::cell::RefCell;
5-
64
use super::types::*;
75

8-
use alloc::{string::{String, ToString}, vec::Vec, vec, rc::Rc};
6+
use core::cell::RefCell;
7+
use alloc::{string::{String, ToString}, vec::Vec, vec, rc::Rc, format};
98

109
impl<'a> VM<'a> {
1110

compiler/src/modules/vm/collections.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use super::VM;
44
use super::types::*;
5-
use alloc::{string::ToString, vec::Vec, rc::Rc};
5+
use alloc::{string::ToString, vec::Vec, rc::Rc, string::String};
66
use hashbrown::HashSet;
77
use core::cell::RefCell;
88

0 commit comments

Comments
 (0)