diff --git a/README.md b/README.md index a539fca..220ee5e 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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