Skip to content

wasi‐memo

tyfkda edited this page Apr 1, 2024 · 2 revisions

How to run wcc-gen2

Our:

$ make wcc-gen2
$ ./tool/run-gen2wcc.sh examples/hello.c
$ ./tool/runwasi a.wasm

Wasmer:

$ wasmer --dir=. --mapdir=/tmp:/tmp cc.wasm -- examples/hello.c
cannot open temporary file

他に、

  • getcwd を使ってるけど、emccだとその関数は使えないっぽい?

//

Clone this wiki locally