Fixed sideros.zig to match the vm name
This commit is contained in:
parent
b39fb34942
commit
a1ab2659a3
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ fn init_mods() void {
|
|||
defer runtime.deinit(allocator);
|
||||
|
||||
var parameters = [_]mods.VM.Value{.{ .i32 = 17 }};
|
||||
runtime.callExternal(allocator, .init, ¶meters) catch @panic("Failed to call to init");
|
||||
runtime.externalCall(allocator, .init, ¶meters) catch @panic("Failed to call to init");
|
||||
const result = runtime.stack.pop().?;
|
||||
std.debug.print("Result of init: {any}\n", .{result});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue