From 5c491c54a22044ef1570c3fb709e14264e367fb1 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Thu, 22 Oct 2026 15:10:56 +0000 Subject: fix(driver): cache the embedded standard library per user Co-Authored-By: Claude Sonnet 5.5 --- doc/cpsc.1.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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. -- cgit v1.3.1-4-g156e