Skip to content

Commit c11d8f5

Browse files
authored
Add warning to the jit mode section of the usage docs
Closes rust-lang#1192
1 parent 98f45af commit c11d8f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/usage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ $ $cg_clif_dir/build/bin/cg_clif my_crate.rs
2424

2525
## Jit mode
2626

27+
> ⚠⚠⚠ 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. ⚠⚠⚠
28+
2729
In jit mode cg_clif will immediately execute your code without creating an executable file.
2830

2931
> This requires all dependencies to be available as dynamic library.

0 commit comments

Comments
 (0)