fix compiler issues

This commit is contained in:
Nilton Constantino
2026-01-30 17:28:04 +00:00
parent 926ad2a807
commit e2a5a08bf2
12 changed files with 137 additions and 37 deletions
@@ -1,12 +0,0 @@
00000000 PushConst U32(1)
00000006 SetLocal U32(0)
0000000C GetLocal U32(0)
00000012 PushConst U32(1)
00000018 Eq
0000001A JmpIfFalse U32(56)
00000020 Jmp U32(38)
00000026 PushConst U32(2)
0000002C Syscall U32(4097)
00000032 Jmp U32(62)
00000038 Jmp U32(62)
0000003E Ret
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
../../target/debug
../../dist-staging/stable/prometeu-aarch64-apple-darwin
-4
View File
@@ -1,6 +1,2 @@
declare contract Touch host {
fn f();
}
fn frame(): void {
}
-3
View File
@@ -1,3 +0,0 @@
pub declare contract Gfx host {}
pub declare contract Input host {}
pub declare contract Touch host {}
@@ -1,7 +0,0 @@
import Gfx from "./sdk.pbs"
fn frame(): void {
Gfx.clear(0);
Gfx.fillRect(110, 110, 20, 20, 2016);
Gfx.drawText(10, 10, "Test01 PBS - Minimal", 65535);
}