feat: update wasmtime justfile
This commit is contained in:
@@ -3,7 +3,7 @@ _:
|
|||||||
|
|
||||||
# https://git.hatter.ink/hatter/learn_programming/src/branch/master/webassembly/clang-llvm.md
|
# https://git.hatter.ink/hatter/learn_programming/src/branch/master/webassembly/clang-llvm.md
|
||||||
compile_add_wasm:
|
compile_add_wasm:
|
||||||
export PATH=/usr/local/opt/llvm/bin:$PATH
|
PATH=/usr/local/opt/llvm/bin:$PATH \
|
||||||
clang --target=wasm32 --no-standard-libraries -Wl,--export-all -Wl,--no-entry -o add.wasm add.c
|
clang --target=wasm32 --no-standard-libraries -Wl,--export-all -Wl,--no-entry -o add.wasm add.c
|
||||||
|
|
||||||
run_example1:
|
run_example1:
|
||||||
|
|||||||
Reference in New Issue
Block a user