We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9b0822 commit 2108a5aCopy full SHA for 2108a5a
1 file changed
src/lang/stdlib.rs
@@ -11,14 +11,18 @@ pub fn compile_stdlib_module() -> Module {
11
1,
12
));
13
module.opcodes.push(Opcode::Vmcall(1));
14
+ module.opcodes.push(Opcode::Loadcnu());
15
module.opcodes.push(Opcode::Ret());
16
+
17
module.functions.push(ModuleFunction::new(
18
"println".into(),
19
module.opcodes.len() as u32,
20
21
22
module.opcodes.push(Opcode::Vmcall(2));
23
24
25
26
27
"get_string".into(),
28
0 commit comments