rust/tests/ui/rustc-env
Jubilee Young b6d0d6da55 note value of RUST_MIN_STACK and explain unsetting 2024-05-19 20:09:03 -07:00
..
auxiliary
README.md defrost RUST_MIN_STACK=ice rustc hello.rs 2024-05-19 18:28:14 -07:00
min-stack-banana.rs defrost RUST_MIN_STACK=ice rustc hello.rs 2024-05-19 18:28:14 -07:00
min-stack-banana.stderr note value of RUST_MIN_STACK and explain unsetting 2024-05-19 20:09:03 -07:00
rust-log.rs

README.md

Some environment variables affect rustc's behavior not because they are major compiler interfaces but rather because rustc is, ultimately, a Rust program, with debug logging, stack control, etc.

Prefer to group tests that use environment variables to control something about rustc's core UX, like "can we parse this number of parens if we raise RUST_MIN_STACK?" with related code for that compiler feature.