diff --git a/src/SUMMARY.md b/src/SUMMARY.md index ff7b6239941..c89eb3f975e 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -347,7 +347,7 @@ - [`buddy_system_allocator`](bare-metal/useful-crates/buddy_system_allocator.md) - [`tinyvec`](bare-metal/useful-crates/tinyvec.md) - [`spin`](bare-metal/useful-crates/spin.md) -- [Android](bare-metal/android.md) +- [Bare-Metal on Android](bare-metal/android.md) - [`vmbase`](bare-metal/android/vmbase.md) - [Exercises](exercises/bare-metal/afternoon.md) - [RTC Driver](exercises/bare-metal/rtc.md) diff --git a/src/bare-metal/android.md b/src/bare-metal/android.md index c581f0ec5ef..50480cc7ab3 100644 --- a/src/bare-metal/android.md +++ b/src/bare-metal/android.md @@ -1,4 +1,4 @@ -# Android +# Bare-Metal on Android To build a bare-metal Rust binary in AOSP, you need to use a `rust_ffi_static` Soong rule to build your Rust code, then a `cc_binary` with a linker script to