Skip to content

Need help to run a supplied WASM file #19

@jlb6740

Description

@jlb6740

Hi .. What is the command line to use to run innative standalone (innative-cmd) with a wasm file that I supply. For example I have compiled fibonaci.c to a wasm, that relies on no imports and like to simply run this on the linux command line using innative-cmd

I see these options in help:

Usage: innative-cmd [-r] [-c] [-i [lite]] [-u] [-v] [-f FLAG...] [-l FILE] [-L FILE] [-o FILE] [-a FILE] [-d PATH] [-j PATH] [-s [FILE]] [-w [MODULE:]FUNCTION] FILE...
  -r : Run the compiled result immediately and display output. Requires a start function.
 -w <[MODULE:]FUNCTION> : whitelists a given C import, does name-mangling if the module is specified.

But it is still not clear the command line options to use.
What start function is innative looking for default? Can you provide a simple example here?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamThis is an upstream dependency issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions