diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-03-30 15:43:48 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-03-30 15:43:48 +0000 |
| commit | 15dbafa81ee8dcf70ead827bb4991d5be8cd99de (patch) | |
| tree | fb4ee92d8dc0b47d7e863b7fd1615d9c50d68271 /docs | |
| parent | 0b2acddf01b58ef4825b5ca68f39d9f2ac86072b (diff) | |
| download | rust-15dbafa81ee8dcf70ead827bb4991d5be8cd99de.tar.gz rust-15dbafa81ee8dcf70ead827bb4991d5be8cd99de.zip | |
Merge commit 'ba315abda789c9f59f2100102232bddb30b0d3d3' into sync_cg_clif-2025-03-30
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/usage.md | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/docs/usage.md b/docs/usage.md index 135a51ce392..dbe36109f83 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -38,14 +38,7 @@ $ $cg_clif_dir/dist/cargo-clif jit or ```bash -$ $cg_clif_dir/dist/rustc-clif -Zunstable-features -Cllvm-args=mode=jit -Cprefer-dynamic my_crate.rs -``` - -There is also an experimental lazy jit mode. In this mode functions are only compiled once they are -first called. - -```bash -$ $cg_clif_dir/dist/cargo-clif lazy-jit +$ $cg_clif_dir/dist/rustc-clif -Cllvm-args=jit-mode -Cprefer-dynamic my_crate.rs ``` ## Shell @@ -54,7 +47,7 @@ These are a few functions that allow you to easily run rust code from the shell ```bash function jit_naked() { - echo "$@" | $cg_clif_dir/dist/rustc-clif - -Zunstable-options -Cllvm-args=mode=jit-lazy -Cprefer-dynamic + echo "$@" | $cg_clif_dir/dist/rustc-clif - -Zunstable-options -Cllvm-args=jit-mode-Cprefer-dynamic } function jit() { |
