Closed
Description
Firefox for Android compiles its code with -march=armv7-a -mthumb -mfpu=vfp -mfloat-abi=softfp
. In rustc
terms, I think this would be -C +vfp2,+v7-a,+thumb2
. AFAICT, this is somewhat different than the arm-linux-androideabi
target, which appears to not assume the existence of an FPU, and also doesn't compile as Thumb where possible. When using Rust on Android, we'd like our Rust libraries to be just as well optimized as our C++ libraries, which means either a) having an official, tier-2 supported target; or b) compiling it ourselves.
One could multiply ARM targets to no end, but this seems like a pretty reasonable target for many Android devices out there. Is it possible to have this target added and supported?
Metadata
Metadata
Assignees
Labels
No labels