Skip to content

Nelua template does not work with WASI SDK version higher than 23 #792

Open
@0riginaln0

Description

@0riginaln0

Nelua template works with the wasi-sdk-23.0

But if we use 24 or 25 version, after w4 run build/cart.wasm we get the following error:
Uncaught (in promise) TypeError: import object field 'wasi_snapshot_preview1' is not an Object
image

I ran wasm-objdump -x cartridges compiled with 25 and 23
And in the 25th dump there is this line, which is not in the 23rd.
- func[2] sig=8 <wasi_snapshot_preview1.random_get> <- wasi_snapshot_preview1.random_get

23-antcopter-wasm-objdump.txt
25-antcopter-wasm-objdump.txt

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