diff options
author | alaviss <alaviss@users.noreply.github.com> | 2018-08-09 15:50:36 +0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-08-09 10:50:36 +0200 |
commit | a2c5ffba0cd82b5677fa57612f7dcb7af2348f45 (patch) | |
tree | 01468c68d3631b2a913026566d40e20c06ddf1f6 /doc/nimc.rst | |
parent | 98225ca207e4057c1da7966430d0699c0151e3e7 (diff) | |
download | Nim-a2c5ffba0cd82b5677fa57612f7dcb7af2348f45.tar.gz |
Uses XDG_CACHE_HOME if available (#8585)
* compiler/options: use XDG_CACHE_HOME if set * doc/nimc: update documentation
Diffstat (limited to 'doc/nimc.rst')
-rw-r--r-- | doc/nimc.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/nimc.rst b/doc/nimc.rst index 277c88ec1..fca5b273c 100644 --- a/doc/nimc.rst +++ b/doc/nimc.rst @@ -159,7 +159,8 @@ Generated C code directory The generated files that Nim produces all go into a subdirectory called ``nimcache``. Its full path is -- ``~/.cache/$projectname(_r|_d)`` on Posix +- ``$XDG_CACHE_HOME/$projectname(_r|_d)`` or ``~/.cache/$projectname(_r|_d)`` + on Posix - ``$HOME/nimcache/$projectname(_r|_d)`` on Windows. The ``_r`` suffix is used for release builds, ``_d`` is for debug builds. |