You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking for a simple archive utility that's free, fast, can handle multiple terabytes without crashing, works on Windows, uses a standard archive file format, and doesn't come loaded with adware. This rapidtar project seemed perfect. Unfortunately, I'm unable to get past cargo build:
error: this arithmetic operation will overflow
--> librapidarchive\src\units\data.rs:82:80
|
82 | ...from(1024 * 1024 * 1024 * 1024).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `1073741824_i32 * 1024_i32`, which would overflow
|
= note: `#[deny(arithmetic_overflow)]` on by default
I did a bit of initial research and it looks like there were some changes in the handling of int overflow in Rust 2018. Maybe this just needs a cast to i64? I'll try to find some time to try a quick fix.
The text was updated successfully, but these errors were encountered:
I've been looking for a simple archive utility that's free, fast, can handle multiple terabytes without crashing, works on Windows, uses a standard archive file format, and doesn't come loaded with adware. This
rapidtar
project seemed perfect. Unfortunately, I'm unable to get pastcargo build
:I did a bit of initial research and it looks like there were some changes in the handling of int overflow in Rust 2018. Maybe this just needs a cast to
i64
? I'll try to find some time to try a quick fix.The text was updated successfully, but these errors were encountered: