mirror of
https://github.com/anoma/juvix.git
synced 2025-01-04 13:42:04 +03:00
Update usage example to use the compile command (#158)
This commit is contained in:
parent
b09d4602e7
commit
98732ae5f8
@ -64,11 +64,11 @@ NB: Set the =WASI_SYSROOT_PATH= environment variable to the root of the WASI sys
|
||||
|
||||
#+begin_src shell
|
||||
cd tests/positive/MiniC/HelloWorld
|
||||
minijuvix minic Input.mjuvix | clang --target=wasm32-wasi -nodefaultlibs -lc --sysroot $WASI_SYSROOT_PATH -I../../../../minic-runtime/libc -x c - -o out.wasm && wasmer out.wasm
|
||||
minijuvix compile Input.mjuvix
|
||||
wasmer Input.wasm
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
: hello world!
|
||||
You should see the output: =hello world!=
|
||||
|
||||
** Other Documentation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user