diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2023-09-18 17:58:17 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-18 19:48:03 +0200 |
commit | 6f392071ed416f1767e209f1d6c98b1d70447337 (patch) | |
tree | 443c3a16e2c3e5cb2c0cc517e812ad56024f1c71 /rustfmt.toml | |
parent | 9e979cef7217519e116a4d54b60bbbf21348a0aa (diff) |
Support empty XDG_CACHE_HOME environmental variable
Follow-up from e5b6e24a621, fixes a scenario in which XDG_CACHE_HOME is
set, but it's set to an empty string instead of a path.
From the documentation
>If $XDG_CACHE_HOME is [...] empty, a default equal to $HOME/.cache should be used.
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com>
Diffstat (limited to 'rustfmt.toml')
0 files changed, 0 insertions, 0 deletions