diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-12-08 14:39:17 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-12-08 14:39:17 -0700 |
| commit | 2759313263d58dba324788dbe346ed1506b239dc (patch) | |
| tree | d7cd349ebe71e091992de578ec548ca3a8990d1e /src/type.zig | |
| parent | c796c4528ec8085178fd3ae402ae80be6358dd38 (diff) | |
| download | zig-2759313263d58dba324788dbe346ed1506b239dc.tar.gz zig-2759313263d58dba324788dbe346ed1506b239dc.zip | |
add support for environment variables to control cache directories
This commit adds:
ZIG_LOCAL_CACHE_DIR corresponding to --cache-dir
ZIG_GLOBAL_CACHE_DIR corresponding to --global-cache-dir
ZIG_LIB_DIR corresponding to --override-lib-dir
The main use case is for `zig cc` where we are bound by clang's CLI
options and need alternate channels to pass these configuration options.
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions
