new streams
This commit is contained in:
parent
3963fc50c3
commit
c73be7166f
13 changed files with 748 additions and 174 deletions
10
src/main.rs
10
src/main.rs
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue