Expand description
Where the sysroots and the other generated things are kept.
Design: spec/cross-compile/13-distribution.md section 13.2, which names the directory and the
variables that move it.
This is the one place that answers the question, and it is here rather than in rucc-sysroot
because answering it means reading the environment. rucc-sysroot reads nothing: that is what
makes a link line a function of its arguments and what
spec/cross-compile/02-the-goal.md claim 5 rests on. So the cache directory is resolved once,
here, and handed down as a path, and the crate below stays a function of what it is given.
Nothing here creates a directory or looks to see whether one is there. The answer is where a sysroot for a target would be, which is a question that has an answer before anything has been downloaded, and saying so is what lets a diagnostic name the directory that is missing.
Functionsยง
- dir
- The cache directory, from the environment.