@@ -9,7 +9,7 @@ Assuming `$cg_clif_dir` is the directory you cloned this repo into and you follo
99In the directory with your project (where you can do the usual ` cargo build ` ), run:
1010
1111``` bash
12- $ $cg_clif_dir /build /cargo-clif build
12+ $ $cg_clif_dir /dist /cargo-clif build
1313```
1414
1515This will build your project with rustc_codegen_cranelift instead of the usual LLVM backend.
@@ -19,7 +19,7 @@ This will build your project with rustc_codegen_cranelift instead of the usual L
1919> You should prefer using the Cargo method.
2020
2121``` bash
22- $ $cg_clif_dir /build /rustc-clif my_crate.rs
22+ $ $cg_clif_dir /dist /rustc-clif my_crate.rs
2323```
2424
2525## Jit mode
@@ -32,20 +32,20 @@ In jit mode cg_clif will immediately execute your code without creating an execu
3232> The jit mode will probably need cargo integration to make this possible.
3333
3434``` bash
35- $ $cg_clif_dir /build /cargo-clif jit
35+ $ $cg_clif_dir /dist /cargo-clif jit
3636```
3737
3838or
3939
4040``` bash
41- $ $cg_clif_dir /build /rustc-clif -Zunstable-features -Cllvm-args=mode=jit -Cprefer-dynamic my_crate.rs
41+ $ $cg_clif_dir /dist /rustc-clif -Zunstable-features -Cllvm-args=mode=jit -Cprefer-dynamic my_crate.rs
4242```
4343
4444There is also an experimental lazy jit mode. In this mode functions are only compiled once they are
4545first called.
4646
4747``` bash
48- $ $cg_clif_dir /build /cargo-clif lazy-jit
48+ $ $cg_clif_dir /dist /cargo-clif lazy-jit
4949```
5050
5151## Shell
@@ -54,7 +54,7 @@ These are a few functions that allow you to easily run rust code from the shell
5454
5555``` bash
5656function jit_naked() {
57- echo " $@ " | $cg_clif_dir /build /rustc-clif - -Zunstable-features -Cllvm-args=mode=jit -Cprefer-dynamic
57+ echo " $@ " | $cg_clif_dir /dist /rustc-clif - -Zunstable-features -Cllvm-args=mode=jit -Cprefer-dynamic
5858}
5959
6060function jit() {
0 commit comments