(WIP)
A file verification and repair tool, written in Rust and Go
Please install the latest rust
and go >= 1.22
first.
Install C/C++ toolchain first.
cargo b -r
mv target/release/impare impare
Install C/C++ toolchain first.
cargo b -r
mv target/release/impare impare
Install MinGW
:
- Download https://github.com/niXman/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev1/x86_64-13.2.0-release-win32-seh-msvcrt-rt_v11-rev1.7z
- Decompress to a directory
- Add
X:\path\to\directory\mingw64\bin
to yourPath
variable
Add x86_64-pc-windows-gnu
target:
rustup target add x86_64-pc-windows-gnu
# git-bash
cargo b -r --target=x86_64-pc-windows-gnu
mv target/x86_64-pc-windows-gnu/release/impare.exe impare.exe
# or set your default target to x86_64-pc-windows-gnu, then:
cargo b -r
mv target/release/impare.exe impare.exe
-
Please
regenerate cgo definitions
if there are some errors inlibpare/main.go
-
Cross-compile to
*-musl
is not supported!