Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit ce8c849

Browse files
ANDROID: Define location of Rust tools and toolchain
This is used by the build system to build kernels with Rust support. Bug: 270672379 Test: tools/bazel run //common-modules/virtual-device:virtual_device_x86_64_dist CONFIG_RUST_IS_AVAILABLE=y set in .config Change-Id: Id8124b12fe2b1238838235a21ea824230c7621f4 Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
1 parent e02528a commit ce8c849

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.config.constants

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
BRANCH=android-mainline
22
CLANG_VERSION=r475365b
3+
RUSTC_VERSION=1.68.0
4+
CLANGTOOLS_PREBUILT_BIN=prebuilts/clang-tools/linux-x86/bin
5+
RUST_PREBUILT_BIN=prebuilts/rust/linux-x86/${RUSTC_VERSION}/bin
36
AARCH64_NDK_TRIPLE=aarch64-linux-android31
47
X86_64_NDK_TRIPLE=x86_64-linux-android31

0 commit comments

Comments
 (0)