diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-12-30 14:53:41 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-12-30 14:53:41 +0100 |
| commit | a8e6d5b04d844a8b540a772dec4f6a233f307c35 (patch) | |
| tree | e2e34051edd788079e52c067e9cf60048145227c /compiler/rustc_codegen_cranelift/docs/usage.md | |
| parent | 65d8785f0a85d233e00fc84445f1aab451ec9f4f (diff) | |
| parent | 40b00f4200fbdeefd11815398cb46394b8cb0a5e (diff) | |
| download | rust-a8e6d5b04d844a8b540a772dec4f6a233f307c35.tar.gz rust-a8e6d5b04d844a8b540a772dec4f6a233f307c35.zip | |
Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30
Diffstat (limited to 'compiler/rustc_codegen_cranelift/docs/usage.md')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/docs/usage.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_cranelift/docs/usage.md b/compiler/rustc_codegen_cranelift/docs/usage.md index bcc5745d9d1..785c7383783 100644 --- a/compiler/rustc_codegen_cranelift/docs/usage.md +++ b/compiler/rustc_codegen_cranelift/docs/usage.md @@ -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 |
