rust/docs/env_vars.md
2020-09-23 16:44:02 +02:00

915 B

List of env vars recognized by cg_clif

CG_CLIF_JIT
Enable JIT mode to immediately run a program instead of writing an executable file.
CG_CLIF_JIT_ARGS
When JIT mode is enable pass these arguments to the program.
CG_CLIF_INCR_CACHE_DISABLED
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.
CG_CLIF_DISPLAY_CG_TIME
If "1", display the time it took to perform codegen for a crate
CG_CLIF_FUNCTION_SECTIONS
Use a single section for each function. This will often reduce the executable size at the cost of making linking significantly slower.