mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-07 07:25:12 +00:00
![tonibofarull](/assets/img/avatar_default.png)
- Enable debugging a WASM loaded and executed from Python. - Expose API to enable access to list of host directories. Similar to --dir in iwasm. - Add another python language binding sample: native-symbol.
12 lines
333 B
Bash
Executable File
12 lines
333 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
/opt/wasi-sdk/bin/clang \
|
|
-O0 -z stack-size=4096 -Wl,--initial-memory=65536 \
|
|
-Wl,--strip-all,--no-entry -nostdlib \
|
|
-Wl,--export=sum\
|
|
-Wl,--allow-undefined \
|
|
-o sum.wasm sum.c
|