diff options
| author | Baitinq <[email protected]> | 2025-06-11 00:10:59 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-06-11 00:11:01 +0200 |
| commit | 8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5 (patch) | |
| tree | 80e8e9319734e112558f1a9c31485b1c01bccb41 /examples/22.src | |
| parent | Boostrap: fix aarch64 linking (diff) | |
| download | interpreter-8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5.tar.gz interpreter-8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5.tar.bz2 interpreter-8fd13680a7b87dc1a9ba2119666f7b0e26bc62b5.zip | |
stdlib: Remove println
varargs forwarding is platform specific with llvm, so we cannot easily have this function
Diffstat (limited to 'examples/22.src')
| -rw-r--r-- | examples/22.src | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/22.src b/examples/22.src index b984202..cc367bf 100644 --- a/examples/22.src +++ b/examples/22.src @@ -20,14 +20,14 @@ let main = () => i64 { let x = 0; - println("Inst x: %d", inst.x); - println("Inst y: %d", *(inst.y)); + printf("Inst x: %d\n", inst.x); + printf("Inst y: %d\n", *(inst.y)); if inst.z { x = 1; }; - println("Test: %d", x); + printf("Test: %d\n", x); return 0; }; |