e7c10de555
ARM_INSTRUCTION_SET, and therefore ARM_THUMB_OPT also, expect to only be used in conjunction with the thumb TUNE_FEATURES. So thumb-mode should only be added if thumb is in TUNE_FEATURES and ARM_THUMB_OPT is thumb. The commit https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/conf/machine/include/arm/arch-armv7a.inc?id=3e7d26e31a724009e69788460737e07163a14051 caused armv7a.inc to set ARM_INSTRUCTION_SET to thumb and the commit message explicitly states that the change should have no effect unless TUNE_FEATURES also includes thumb. This change to rust will allow that assumption to continue to be true.