X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_codegen_cranelift%2Fdocs%2Fusage.md;h=bcc5745d9d1974af3115e83f9004151b10eeeba2;hb=e601554dc0e2443a286cf529c1463b00d8e1fdde;hp=87eec0e818bb2407695c4fa6b82ff49eada037a1;hpb=c0490a2dbbb94f8244fb6a15ca5d33dc3fcd268a;p=rust.git diff --git a/compiler/rustc_codegen_cranelift/docs/usage.md b/compiler/rustc_codegen_cranelift/docs/usage.md index 87eec0e818b..bcc5745d9d1 100644 --- a/compiler/rustc_codegen_cranelift/docs/usage.md +++ b/compiler/rustc_codegen_cranelift/docs/usage.md @@ -24,6 +24,8 @@ $ $cg_clif_dir/build/bin/cg_clif my_crate.rs ## 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. > This requires all dependencies to be available as dynamic library.