Skip to content

Commit e23a7be

Browse files
committed
Update the sanity limit to 200M per file
This is needed because the stdlib .rlib files are now around 100M and some targets exceed the old sanity limit. This will close #1982 Signed-off-by: Daniel Silverstone <[email protected]>
1 parent c2a9fb0 commit e23a7be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dist/component/package.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ fn unpack_without_first_dir<'a, R: Read>(
277277
let entries = archive
278278
.entries()
279279
.chain_err(|| ErrorKind::ExtractingPackage)?;
280-
const MAX_FILE_SIZE: u64 = 100_000_000;
280+
const MAX_FILE_SIZE: u64 = 200_000_000;
281281
let mut budget = MemoryBudget::new(MAX_FILE_SIZE as usize);
282282

283283
let mut directories: HashMap<PathBuf, DirStatus> = HashMap::new();

0 commit comments

Comments
 (0)