Switch to armv7 for Rust ARM

In the previous mode, building Rust code using certain intrinsics would
fail on arm32 since our runtime is armv7, but our codegen was arm.

Test: cd external/rust; mma
Bug: 169245712
Change-Id: Ie800486b39325486f5ff319e46632df2a6987391
This commit is contained in:
Matthew Maurer 2020-09-24 14:19:27 -07:00
parent 2c7ca784f7
commit ad64c39442
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ type toolchainArm struct {
}
func (t *toolchainArm) RustTriple() string {
return "arm-linux-androideabi"
return "armv7-linux-androideabi"
}
func (t *toolchainArm) ToolchainLinkFlags() string {