cargo/.cargo
Ed Page eab2f93453 test: Ensure snapbox works until CARGO_RUSTC_CURRENT_DIR is stabilized
Snapbox's polyfill for `CARGO_RUSTC_CURRENT_DIR` looks for the furthest
away `Cargo.toml`.
That works in our repo but won't work as a submodule in rustc.
This uses the `config.toml` hack for setting the variable.

I verified
- Without this, the polyfill is used
- With this, it is used
- Without this on nightly, the official `CARGO_RUSTC_CURRENT_DIR` is
  used
2024-02-16 10:27:48 -06:00
..
config.toml test: Ensure snapbox works until CARGO_RUSTC_CURRENT_DIR is stabilized 2024-02-16 10:27:48 -06:00