From 088169b989f6d42cb110911382f39934f817cdb8 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Tue, 19 Nov 2024 17:13:37 +0100 Subject: [PATCH] Make page title more specific (#2405) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Naming the slide “Bare-Metal Android” avoids an annoying situation when searching: before, searching for “android” would list this slide as a top hit because it matches the search term precisely. This meant that the whole Rust in Android section course was harder to find. With this change, the “Welcome to Rust in Android” page becomes easier to find. --- src/SUMMARY.md | 2 +- src/bare-metal/android.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SUMMARY.md b/src/SUMMARY.md index f9df78c890a..87ebac152de 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -346,7 +346,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