Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Fix typo and explicit alternatives
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillt authored Nov 22, 2023
1 parent 65633c8 commit fef13f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ implementation 'dev.arkbuilders:arklib:0.3.1'
- Kotlin toolchain
- Android SDK + NDK r24 (latest)

### Build Rust
### Build Rust library

You need to have Rust targets installed:
```sh
Expand All @@ -55,6 +55,8 @@ rustup target add i686-linux-android
rustup target add x86_64-linux-android
```

#### Compile Rust (option 1)

For checking if Rust code compiles without problems, you can use this command:

```sh
Expand All @@ -67,7 +69,9 @@ which doesn't require you to install extra dependencies:

https://github.com/bbqsrc/cargo-ndk

Using `cargo-sdk`, you can generate the `libarklib.so` files in two steps:
#### Compile Rust (option 2)

Using `cargo-ndk`, you can generate the `libarklib.so` files in two steps:

```sh
- cd arklib
Expand Down

0 comments on commit fef13f2

Please sign in to comment.