Skip to content

Commit c6ff944

Browse files
authored
Merge pull request #1983 from kinnison/kinnison/shift-limits
Update the sanity limit to 200M per file
2 parents c2a9fb0 + 9eb2b44 commit c6ff944

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci/run.bash

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ if [ -z "$SKIP_TESTS" ]; then
3232

3333
runtest --test dist -- --test-threads 1
3434

35-
find ./tests -maxdepth 1 -type f ! -path '*/dist.rs' -name '*.rs' \
36-
| sed -E 's@\./tests/(.+)\.rs@\1@g' \
35+
find tests -maxdepth 1 -type f ! -path '*/dist.rs' -name '*.rs' \
36+
| sed -e 's@^tests/@@;s@\.rs$@@g' \
3737
| while read -r test; do
3838
runtest --test "${test}"
3939
done

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)