diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-20 12:41:40 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-20 12:56:47 +0200 |
| commit | 80e9188fb1a404427513e080b8a27ac262769614 (patch) | |
| tree | 54787da560eb828454135b25579ca94d0c4fabe3 /docs | |
| parent | 9fd8fa21231e488c3f784e811b9f7c7548561594 (diff) | |
| download | rust-80e9188fb1a404427513e080b8a27ac262769614.tar.gz rust-80e9188fb1a404427513e080b8a27ac262769614.zip | |
Rewrite cargo.sh in rust
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/usage.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/usage.md b/docs/usage.md index 7e1e0a9bc9d..aac44b62d01 100644 --- a/docs/usage.md +++ b/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.sh build +$ $cg_clif_dir/build/cargo build ``` This will build your project with rustc_codegen_cranelift instead of the usual LLVM backend. @@ -30,7 +30,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.sh jit +$ $cg_clif_dir/build/cargo jit ``` or @@ -44,7 +44,7 @@ first called. It currently does not work with multi-threaded programs. When a no function is called from another thread than the main thread, you will get an ICE. ```bash -$ $cg_clif_dir/build/cargo.sh lazy-jit +$ $cg_clif_dir/build/cargo lazy-jit ``` ## Shell |
