Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.1 KB

README.md

File metadata and controls

56 lines (35 loc) · 1.1 KB

impare (NOT impact 淫趴)

(WIP)

A file verification and repair tool, written in Rust and Go

How to build?

Please install the latest rust and go >= 1.22 first.

Linux

Install C/C++ toolchain first.

cargo b -r
mv target/release/impare impare

Macos

Install C/C++ toolchain first.

cargo b -r
mv target/release/impare impare

Windows

Install MinGW:

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

Note

  • Please regenerate cgo definitions if there are some errors in libpare/main.go

  • Cross-compile to *-musl is not supported!