diff options
| author | chenx97 <chenx97@aosc.io> | 2023-06-28 13:35:39 +0800 |
|---|---|---|
| committer | chenx97 <chenx97@aosc.io> | 2023-07-18 18:58:18 +0800 |
| commit | d3727148a0cb2ddf5f3d9c3af7f6caf5bc032e9d (patch) | |
| tree | a30bd28dc7cc98b31be8c8cff63bbdea94eba09f /compiler/rustc_target/src/asm/mod.rs | |
| parent | a132b3ec03f3ddab35fdc2d0c3bfbda951956db5 (diff) | |
| download | rust-d3727148a0cb2ddf5f3d9c3af7f6caf5bc032e9d.tar.gz rust-d3727148a0cb2ddf5f3d9c3af7f6caf5bc032e9d.zip | |
support for mips32r6 as a target_arch value
Diffstat (limited to 'compiler/rustc_target/src/asm/mod.rs')
| -rw-r--r-- | compiler/rustc_target/src/asm/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/asm/mod.rs b/compiler/rustc_target/src/asm/mod.rs index 8c3fef4b1ad..7c27732079b 100644 --- a/compiler/rustc_target/src/asm/mod.rs +++ b/compiler/rustc_target/src/asm/mod.rs @@ -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), |
