From b578eb300627dd8230d354af3f8e511889465ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E6=97=AD=E5=87=A1?= <9144915+lu-xufan@user.noreply.gitee.com> Date: Wed, 23 Mar 2022 14:32:09 +0000 Subject: [PATCH] Add rust toolchain build instructions --- docs/howto-build-aosp-riscv.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/howto-build-aosp-riscv.md b/docs/howto-build-aosp-riscv.md index 2240c2e..3391c71 100644 --- a/docs/howto-build-aosp-riscv.md +++ b/docs/howto-build-aosp-riscv.md @@ -90,7 +90,7 @@ $ lunch aosp_riscv64-eng $ m --skip-ninja ``` -# 6. Build Clang +# 6. Build Clang/llvm toolchain ``` $ mkdir llvm-toolchain && cd llvm-toolchain @@ -98,3 +98,12 @@ $ repo init -u git@github.com:aosp-riscv/platform_manifest.git -b riscv64-llvm-m $ repo sync -c $ python toolchain/llvm_android/build.py ``` + +# 7. Build Rust toolchain + +``` +$ mkdir rust-toolchain && cd rust-toolchain +$ repo init -u git@github.com:riscv-android-src/manifest.git -b riscv64-android12-rust-toolchain-dev +$ repo sync -c +$ python toolchain-android_rust/build.py + -- Gitee