about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-03-06 15:33:47 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2021-03-06 15:33:47 +0100
commit4ca3384db63fcc938b2ed58b9c6f42ef93442e47 (patch)
tree8b913fe2e97ab1ad57028ddef2e34e727d56a16d /docs
parentbd1b1dd58e257322821267614ef6009d9c3ff5c8 (diff)
downloadrust-4ca3384db63fcc938b2ed58b9c6f42ef93442e47.tar.gz
rust-4ca3384db63fcc938b2ed58b9c6f42ef93442e47.zip
Make it possible to enable the verifier in release mode
Diffstat (limited to 'docs')
-rw-r--r--docs/env_vars.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/env_vars.md b/docs/env_vars.md
index f0a0a6ad42e..f7fde1b4f3a 100644
--- a/docs/env_vars.md
+++ b/docs/env_vars.md
@@ -8,5 +8,8 @@
     to make it possible to use incremental mode for all analyses performed by rustc without caching
     object files when their content should have been changed by a change to cg_clif.</dd>
     <dt>CG_CLIF_DISPLAY_CG_TIME</dt>
-    <dd>If "1", display the time it took to perform codegen for a crate</dd>
+    <dd>If "1", display the time it took to perform codegen for a crate.</dd>
+    <dt>CG_CLIF_ENABLE_VERIFIER</dt>
+    <dd>Enable the Cranelift ir verifier for all compilation passes. If not set it will only run once
+    before passing the clif ir to Cranelift for compilation.</dt>
 </dl>