support for mips32r6 as a target_arch value

This commit is contained in:
chenx97
2023-06-28 13:35:39 +08:00
parent a132b3ec03
commit d3727148a0
16 changed files with 29 additions and 14 deletions

View File

@@ -238,7 +238,7 @@ impl FromStr for InlineAsmArch {
"powerpc64" => Ok(Self::PowerPC64),
"hexagon" => Ok(Self::Hexagon),
"loongarch64" => Ok(Self::LoongArch64),
"mips" => Ok(Self::Mips),
"mips" | "mips32r6" => Ok(Self::Mips),
"mips64" | "mips64r6" => Ok(Self::Mips64),
"s390x" => Ok(Self::S390x),
"spirv" => Ok(Self::SpirV),