pub fn path(name: &str) -> PathBufExpand description
A path in the machine’s temporary directory, unique to this call.
Nothing is created: the caller writes the file, or hands the path to the
tool that writes it. The unique part leads, so name keeps its extension
for a tool that reads one.
Prefer Scratch, which removes the path again. Reach for this only where
something else already owns that.
let path = concinnity_host::scratch::path("shader.air");
assert!(path.to_string_lossy().ends_with("shader.air"));
assert_ne!(path, concinnity_host::scratch::path("shader.air"));