INNER CODE UNIT · Python

python

faasm/faasm · tasks/codegen.py:152

def python(ctx, clean=False):
    """
    Run Python codegen
    """
    env = copy(environ)
    env.update({"FAASM_WASM_VM": "wavm"})
    codegen(ctx, PYTHON_USER, PYTHON_FUNC, clean)
    _do_codegen_shared_lib(PY_RUNTIME_ROOT, clean)


@task
def tests(ctx, clean=False):
    """
    Runs codegen for all WASM needed for the tests
    """
    # Run the WAVM codegen
    wavm(ctx, clean)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…