diff options
author | 2021-02-11 17:39:11 +0000 | |
---|---|---|
committer | 2021-02-11 17:39:11 +0000 | |
commit | 05ad76b459851538e75fb4e9fa82011a29907cc4 (patch) | |
tree | 85f39c85cca026ed2b213cd43252b36c9f3204b3 /rust/compiler.go | |
parent | 56ca4e470658df0683ad39420b40193d9c5f4902 (diff) | |
parent | c5d34ec1006f177c25aa425e72b1815d84379078 (diff) |
Merge "rust: Use prebuilts for x86 host target."
Diffstat (limited to 'rust/compiler.go')
-rw-r--r-- | rust/compiler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/compiler.go b/rust/compiler.go index 586063e91..224e2017d 100644 --- a/rust/compiler.go +++ b/rust/compiler.go @@ -254,7 +254,7 @@ func (compiler *baseCompiler) compilerDeps(ctx DepsContext, deps Deps) Deps { if !Bool(compiler.Properties.No_stdlibs) { for _, stdlib := range config.Stdlibs { // If we're building for the primary arch of the build host, use the compiler's stdlibs - if ctx.Target().Os == android.BuildOs && ctx.TargetPrimary() { + if ctx.Target().Os == android.BuildOs { stdlib = stdlib + "_" + ctx.toolchain().RustTriple() } |