stage1: add linux XDG Base Directory support

- define zig global cache based on XDG spec:

    if env XDG_CACHE_HOME {
        "$XDG_CACHE_HOME/zig"
    } else {
        "$HOME/.cache/zig"
    }

- old definition "$HOME/.local/share/zig" is retired
- closes #3573
10046f9a52Michael Dusan committed on 11/2/2019, 10:30:07 PM· committed by Andrew Kelleyparent2e0dd57
3 files changedLine totals unavailable