Add wasm2elf: i32 WebAssembly to static x86-64 ELF compiler in MoonBit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
b8617c7aaa
22 files changed
+1219
No files matched your search
@@ -0,0 +1,15 @@
|
||||
(module
|
||||
(func $rise (result i32)
|
||||
i32.const 6)
|
||||
(func $shine (param $hour i32) (result i32)
|
||||
local.get $hour
|
||||
i32.const 9
|
||||
i32.lt_u
|
||||
if (result i32)
|
||||
unreachable
|
||||
else
|
||||
i32.const 1
|
||||
end)
|
||||
(func (export "morning") (result i32)
|
||||
call $rise
|
||||
call $shine))
|
||||
Reference in new issue
Block a user