aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-22 15:10:56 +0000
committer_ov4 <ov4@ov4.org>2026-10-22 15:10:56 +0000
commit5c491c54a22044ef1570c3fb709e14264e367fb1 (patch)
tree7018758523bfc4f73ad2c640ef332ca72cfdd0ba /doc
parent11266ea732e2533081283290c3c865c234e79b2a (diff)
fix(driver): cache the embedded standard library per user
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/cpsc.1.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/cpsc.1.md b/doc/cpsc.1.md
index 6a81a8a..c0dd4f0 100644
--- a/doc/cpsc.1.md
+++ b/doc/cpsc.1.md
@@ -126,6 +126,11 @@ Missing input, including invoking `cpsc` without arguments, reports `cpsc: fatal
Generated IR uses the C++ exception ABI. Native binaries need the C++ runtime; EMBEDDED includes it, while PATH uses the runtime available to `lli`. Nightly CI runs embedded exception tests on Linux, Windows and macOS with LLVM 23.
+# FILES
+
+*cache directory*/cpsc/std-*hash*
+: Per-user cache of the embedded standard library sources and objects, where *cache directory* is `$XDG_CACHE_HOME` or `~/.cache` on Linux, `~/Library/Caches` on macOS and the local application data directory on Windows. Directories are named by a hash of their content, files are replaced atomically, and `cpsc` never deletes them; they may be removed at any time. If no cache directory can be created, `cpsc` extracts to a temporary directory and removes it on exit.
+
# SEE ALSO
[cpsc-language-overview(7)](language/cpsc-language-overview.7.md) describes supported syntax and links to the keyword, builtin and standard-library function manuals.