Skip to content

Support for wasi ? #7

@coco875

Description

@coco875

I use wamr to run wasm not in a navigator and I get this:

#00: 0x0000 - setTempRet0
#01: 0x0131 - saveSetjmp
#02: 0x00ed - $f98
#03: 0x0448 - $f220
#04: 0x0012 - $f304
#05: 0x0094 - fib


#00: 0x0000 - setTempRet0
#01: 0x0131 - saveSetjmp
#02: 0x00ed - $f98
#03: 0x0448 - $f220
#04: 0x0012 - $f304
#05: 0x0094 - fib

Exception: failed to call unlinked import function (env, setTempRet0)

with this simple lua program:

function fib(n)
    if n <= 1 then
        return n
    end
    return fib(n - 1) + fib(n - 2)
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions