diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-09-02 18:05:09 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-09-02 18:05:09 +0300 |
commit | 059ab554c7a7933b3b65fdde704fb487be9eb7ed (patch) | |
tree | 0c085f40d8182f582762d4e68e157d34b84160d8 | |
parent | fc56a38d96372011731ee875500b2f15d6918077 (diff) | |
download | ambient-run-059ab554c7a7933b3b65fdde704fb487be9eb7ed.tar.gz |
fix: set max size on cache directory
Otherwise, the build can put too much data there.
Sponsored-by: author
-rw-r--r-- | src/qemu.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qemu.rs b/src/qemu.rs index 2a7a6b6..62a3470 100644 --- a/src/qemu.rs +++ b/src/qemu.rs @@ -109,7 +109,7 @@ impl Qemu { Self::create_tar_with_size(tmp.path().join("cache"), dirname, MAX_OUTPUT_SIZE)? } else { eprintln!("no cache"); - Self::create_tar(tmp.path().join("cache"), empty.path())? + Self::create_tar_with_size(tmp.path().join("cache"), empty.path(), MAX_OUTPUT_SIZE)? }; eprintln!("deps drive"); |