Command Palette

Search for a command to run...

francisco-perez-sorrosal/simple_wasmer

wasi

Public
wasmer run francisco-perez-sorrosal/simple_wasmer

Run this example in RustPython

from typing import Optional, List

print("a")
def main(args: Optional[List[str]] = None) -> int:
    """
    Run the main program.

    This function is executed when you type `hello_wasmer` or `python -m hello_wasmer`.

    Arguments:
        args: Arguments passed from the command line.

    Returns:
        An exit code.
    """
    print("Hello Wasmer!")
    return 0

Simple test