Skip to content

Commit

Permalink
Unpin cargo-ndk
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Jun 3, 2024
1 parent d863694 commit 2121b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,9 @@ after you get a few things set up.
Most importantly, you need to install [`cargo-ndk`](https://github.com/bbqsrc/cargo-ndk).

```shell
cargo install cargo-ndk --version 3.5.4
cargo install cargo-ndk
```

NOTE: cargo-ndk is temporarily held back due to [this issue](https://github.com/bbqsrc/cargo-ndk/issues/137)
which breaks workspaces.

If you've tried building the Rust library already and you have rustup,
the requisite targets will probably be installed automatically.
If not, follow the steps in the [`cargo-ndk` README](https://github.com/bbqsrc/cargo-ndk)
Expand Down
1 change: 1 addition & 0 deletions android/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ dependencies {
cargoNdk {
module = "../rust" // Directory containing Cargo.toml
librariesNames = ["libfoobar.so"]
extraCargoBuildArguments = ["-p", "foobar"]
}

android.libraryVariants.all { variant ->
Expand Down

0 comments on commit 2121b55

Please sign in to comment.