@@ -1,16 +0,0 @@
|
||||
package gyehoek:gyehoek@0.1.0;
|
||||
|
||||
interface runtime {
|
||||
resource scm {
|
||||
make-small-int: static func(n: s32) -> scm;
|
||||
}
|
||||
}
|
||||
|
||||
interface program {
|
||||
run: func() -> s32;
|
||||
}
|
||||
|
||||
world gyehoek {
|
||||
import runtime;
|
||||
export program;
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
(module
|
||||
(func $run (result i32)
|
||||
(i32.const 123))
|
||||
(export "gyehoek:gyehoek/program@0.1.0#run"
|
||||
(func $run)))
|
||||
@@ -1,5 +0,0 @@
|
||||
(module
|
||||
(func $make-small-int (param $n i32) (result i32)
|
||||
(i32.mul (local.get $n) (i32.const 2)))
|
||||
(export "gyehoek:gyehoek/runtime@0.1.0[method]scm.make-small-int"
|
||||
(func $make-small-int)))
|
||||
Reference in New Issue
Block a user