1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-26 10:41:01 +02:00

Make page title more specific (#2405)

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.
This commit is contained in:
Martin Geisler
2024-11-19 17:13:37 +01:00
committed by GitHub
parent 6148caed7a
commit 088169b989
2 changed files with 2 additions and 2 deletions

View File

@ -346,7 +346,7 @@
- [`buddy_system_allocator`](bare-metal/useful-crates/buddy_system_allocator.md) - [`buddy_system_allocator`](bare-metal/useful-crates/buddy_system_allocator.md)
- [`tinyvec`](bare-metal/useful-crates/tinyvec.md) - [`tinyvec`](bare-metal/useful-crates/tinyvec.md)
- [`spin`](bare-metal/useful-crates/spin.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) - [`vmbase`](bare-metal/android/vmbase.md)
- [Exercises](exercises/bare-metal/afternoon.md) - [Exercises](exercises/bare-metal/afternoon.md)
- [RTC Driver](exercises/bare-metal/rtc.md) - [RTC Driver](exercises/bare-metal/rtc.md)

View File

@ -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` 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 Soong rule to build your Rust code, then a `cc_binary` with a linker script to