new streams

This commit is contained in:
Jana Dönszelmann 2026-02-24 12:41:00 +01:00
parent 3963fc50c3
commit c73be7166f
No known key found for this signature in database
13 changed files with 748 additions and 174 deletions

View file

@ -27,7 +27,15 @@ enum Preset {
}
fn default_tempdir() -> PathBuf {
temp_dir().join("rustc-logviz")
let home = std::env::var("HOME").unwrap();
let t_rs_tempdirs = PathBuf::from(home).join("tempdirs");
let tempdir = if t_rs_tempdirs.exists() {
t_rs_tempdirs
} else {
temp_dir()
};
tempdir.join("rustc-logviz")
}
#[derive(Parser, Debug)]