mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 16:35:03 +01:00
tests
This commit is contained in:
parent
7fec1b1ce7
commit
a22cc15b59
11 changed files with 54 additions and 54 deletions
6
std/io.nil
Normal file
6
std/io.nil
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import ("wasi_snapshot_preview1" "fd_write")
|
||||
fd_write(fd: I32, ciovec_ptr: I32, ciovec_len: I32, out_ptr: I32): I32;
|
||||
|
||||
function print(s: String) = (
|
||||
let s: (I32, I32) = ___transmute(s);
|
||||
);
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
mod rt;
|
||||
mod list;
|
||||
mod io;
|
||||
|
||||
function printlnI32(x: I32) = (
|
||||
printI32(x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue