summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/docs/env_vars.md
blob: f7fde1b4f3a873bbfc694a4bdaeb8cd5fe03fdb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# List of env vars recognized by cg_clif

<dl>
    <dt>CG_CLIF_JIT_ARGS</dt>
    <dd>When JIT mode is enable pass these arguments to the program.</dd>
    <dt>CG_CLIF_INCR_CACHE_DISABLED</dt>
    <dd>Don't cache object files in the incremental cache. Useful during development of cg_clif
    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>
    <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>