Merge commit '40b00f4200
' into sync_cg_clif-2021-12-30
This commit is contained in:
commit
a8e6d5b04d
20 changed files with 90 additions and 81 deletions
|
@ -9,7 +9,7 @@ Assuming `$cg_clif_dir` is the directory you cloned this repo into and you follo
|
|||
In the directory with your project (where you can do the usual `cargo build`), run:
|
||||
|
||||
```bash
|
||||
$ $cg_clif_dir/build/cargo build
|
||||
$ $cg_clif_dir/build/cargo-clif build
|
||||
```
|
||||
|
||||
This will build your project with rustc_codegen_cranelift instead of the usual LLVM backend.
|
||||
|
@ -32,7 +32,7 @@ In jit mode cg_clif will immediately execute your code without creating an execu
|
|||
> The jit mode will probably need cargo integration to make this possible.
|
||||
|
||||
```bash
|
||||
$ $cg_clif_dir/build/cargo jit
|
||||
$ $cg_clif_dir/build/cargo-clif jit
|
||||
```
|
||||
|
||||
or
|
||||
|
@ -45,7 +45,7 @@ There is also an experimental lazy jit mode. In this mode functions are only com
|
|||
first called.
|
||||
|
||||
```bash
|
||||
$ $cg_clif_dir/build/cargo lazy-jit
|
||||
$ $cg_clif_dir/build/cargo-clif lazy-jit
|
||||
```
|
||||
|
||||
## Shell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue