about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-07-17 16:32:55 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-07-17 16:32:55 +0200
commit80b9e36709019f98f6bdc33e632641861e470128 (patch)
treeedd315b6c78fbd499203c5e04c34aedabb4216ef /docs
parent60340d44d84dedd7112d2773bf949b606b40cb4a (diff)
downloadrust-80b9e36709019f98f6bdc33e632641861e470128.tar.gz
rust-80b9e36709019f98f6bdc33e632641861e470128.zip
Put all cg_clif specific options behind -Zunstable-features
Diffstat (limited to 'docs')
-rw-r--r--docs/usage.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/usage.md b/docs/usage.md
index 956d5905a97..87eec0e818b 100644
--- a/docs/usage.md
+++ b/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() {