diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-08-06 16:26:56 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-08-06 16:26:56 +0200 |
| commit | 279f486960edc43246ea413970f587a82365cca7 (patch) | |
| tree | a15483e6de5d0c1c26b7a5d8839400f673f8b69a /compiler/rustc_codegen_cranelift/docs/usage.md | |
| parent | 1f94abcda6884893d4723304102089198caa0839 (diff) | |
| parent | 05677b6bd6c938ed760835d9b1f6514992654ae3 (diff) | |
| download | rust-279f486960edc43246ea413970f587a82365cca7.tar.gz rust-279f486960edc43246ea413970f587a82365cca7.zip | |
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
Diffstat (limited to 'compiler/rustc_codegen_cranelift/docs/usage.md')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/docs/usage.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/docs/usage.md b/compiler/rustc_codegen_cranelift/docs/usage.md index 956d5905a97..87eec0e818b 100644 --- a/compiler/rustc_codegen_cranelift/docs/usage.md +++ b/compiler/rustc_codegen_cranelift/docs/usage.md @@ -36,7 +36,7 @@ $ $cg_clif_dir/build/cargo jit or ```bash -$ $cg_clif_dir/build/bin/cg_clif -Cllvm-args=mode=jit -Cprefer-dynamic my_crate.rs +$ $cg_clif_dir/build/bin/cg_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 @@ -52,7 +52,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/build/bin/cg_clif - -Cllvm-args=mode=jit -Cprefer-dynamic + echo "$@" | $cg_clif_dir/build/bin/cg_clif - -Zunstable-features -Cllvm-args=mode=jit -Cprefer-dynamic } function jit() { |
