Skip to content

Commit 9165783

Browse files
committed
Document cargo binstall
1 parent 1973b95 commit 9165783

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ It also introduces a `cargo ndk-runner` subcommand (which is used by `ndk-test`
1717
- **Breaking change**: Removed Cargo.toml-based configuration property handling
1818
- **Breaking change**: Bump minimum supported Rust version (MSRV) to 1.86 and use Rust edition 2024.
1919
- **Breaking change**: `--bindgen` has been removed, and relevant environment variables are set by default
20+
- Feature: `cargo-ndk` can now be installed with `cargo binstall`
2021
- Feature: Clang builtins can now be linked automatically by adding `--link-builtins` or its equivalent environment variable
2122
- Feature: `cargo ndk-test` for running tests on Android devices.
2223
- Feature: `cargo ndk-runner` for running binaries on Android devices.

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ This cargo extension handles all the environment configuration needed for succes
3333

3434
## Installing
3535

36+
### With `cargo binstall`
37+
38+
To eliminate time wasted building `cargo-ndk` in your CI pipelines, you can use [`cargo-binstall`](https://github.com/cargo-bins/cargo-binstall):
39+
40+
```
41+
cargo binstall cargo-ndk
42+
```
43+
44+
### Building from source
45+
3646
```
3747
cargo install cargo-ndk
3848
```

0 commit comments

Comments
 (0)