rust-lang/rustc_codegen_gcc

Clean up the "Env vars" section of the Readme

antoyo opened this issue · 7 comments

The env var section mentions some environment variables that do not exist like CG_GCCJIT_INCR_CACHE_DISABLED and does not mention variables that exist like CG_GCCJIT_DUMP_ALL_MODULES.

Please assign this to me @antoyo

Done.

Is there some docs that i can look to see if there is more env vars to include and to see what they are doing to put it in the readme?

No, the issue is to write this doc.
You can look in the code for usage of env::var.
Usually, the variables we want to document starts with CG_GCCJIT_, but please ask if you're not sure.

What about these: std::env::var("GITHUB_ACTIONS"), std::env::var("PATH"), env::var("RUST_BACKTRACE")?

Please do not add those in the doc.

Fixed by #523.