Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayazhafiz/hash-files
https://github.com/ayazhafiz/hash-files
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ayazhafiz/hash-files
- Owner: ayazhafiz
- Created: 2023-08-01T05:42:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-02T02:16:22.000Z (over 1 year ago)
- Last Synced: 2024-05-02T02:22:24.481Z (8 months ago)
- Language: Rust
- Size: 253 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Building + running
These instructions come from the perspective of a macOS user. They will likely
be reversed or require additional steps if you are running on a linux system
(or anything else).### macos
```
cargo b --releasetarget/release/hash-files
```### linux x86
First up, make sure to install cross-compiling tools.
```
brew install FiloSottile/musl-cross/musl-cross
```Building:
```
TARGET_CC=x86_64-linux-musl-gcc cargo build --release --target x86_64-unknown-linux-musl
```The target binary is then found in
```
target/x86_64-unknown-linux-musl/release/hash-files
```## Auto-completion when developing for linux-only strategies
Add the following to your `.cargo/config` to indicate to rust-analyzer that it
should analyze with the x86_64-linux target.```
[build]
target = "x86_64-unknown-linux-musl"
```