Skip to content

Commit e464190

Browse files
Update the sanity limit from 200M to 220M per file.
This is needed because the librustc_driver-*.so filesize on some targets now exceed 200M. i.e. nightly-mips64el-unknown-linux-gnuabi64 This will close #2362. The commit e23a7be , in which we lift the limit from 100M to 200M, was commited 9 monthes ago. Thus we can estimate that the driver size will grow 10M per month on nightly-mips64el target. With extra 20M limit, we will be able to perform a better solution in about 2 monthes. Signed-off-by: LIU An <liuan@sgcc.com.cn>
1 parent 27c918e commit e464190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dist/component/package.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ fn unpack_without_first_dir<'a, R: Read>(
296296
let entries = archive
297297
.entries()
298298
.chain_err(|| ErrorKind::ExtractingPackage)?;
299-
const MAX_FILE_SIZE: u64 = 200_000_000;
299+
const MAX_FILE_SIZE: u64 = 220_000_000;
300300
let effective_max_ram = match effective_limits::memory_limit() {
301301
Ok(ram) => Some(ram as usize),
302302
Err(e) => {

0 commit comments

Comments
 (0)