1
1
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:
Paul Cadman 2022-06-14 09:42:13 +01:00 committed by GitHub
parent b09d4602e7
commit 98732ae5f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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