Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures on 32-bit arches #119

Open
werdahias opened this issue Jan 3, 2024 · 2 comments
Open

Test failures on 32-bit arches #119

werdahias opened this issue Jan 3, 2024 · 2 comments

Comments

@werdahias
Copy link

Hi,
recently I got async-zip uploaded to debian. The testsuite fails on 32-bit arches:

warning: function `compress_to_mem` is never used
  --> tests/common/mod.rs:22:14
    |
    | pub async fn compress_to_mem(compress: Compression) -> Vec<u8> {
    |              ^^^^^^^^^^^^^^^

 error[E0080]: evaluation of constant value failed
  --> src/tests/write/zip64/mod.rs:17:34
   |
   | const BATCHED_FILE_SIZE: usize = NUM_BATCHES * BATCH_SIZE;
   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `42950_usize * 100000_usize`, which would overflow
 
 For more information about this error, try `rustc --explain E0080`.
 error: could not compile `async_zip` due to previous error
@Majored
Copy link
Owner

Majored commented Jan 4, 2024

Do you happen to know if this is a regression or is this the first version you've tested on?

@werdahias
Copy link
Author

This is just the first version I tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants