Refactor WASM runner and logging functionality; add heartbeat task and improve initialization process
This commit is contained in:
+3
-2
@@ -1,9 +1,10 @@
|
||||
extern "nova64" fn yield(timeout_ms: u32) void;
|
||||
const nova64 = @import("nova64.zig");
|
||||
|
||||
pub fn main() void {
|
||||
_ = add(1, 2);
|
||||
while (true) {
|
||||
yield(16); // Yield for 1 second
|
||||
nova64.log("Hello from Zig!");
|
||||
// nova64.yield(1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user