Add warning to the jit mode section of the usage docs

Closes #1192
This commit is contained in:
bjorn3 2021-08-09 12:30:40 +02:00 committed by GitHub
parent 98f45afd64
commit c11d8f5be1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,8 @@ $ $cg_clif_dir/build/bin/cg_clif my_crate.rs
## Jit mode ## Jit mode
> ⚠⚠⚠ The JIT mode is highly experimental. It may be slower than AOT compilation due to lack of incremental compilation. It may also be hard to setup if you have cargo dependencies. ⚠⚠⚠
In jit mode cg_clif will immediately execute your code without creating an executable file. In jit mode cg_clif will immediately execute your code without creating an executable file.
> This requires all dependencies to be available as dynamic library. > This requires all dependencies to be available as dynamic library.