Skip to content

Commit a132b3e

Browse files
committed
merge patterns
1 parent c6e03cd commit a132b3e

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

compiler/rustc_codegen_ssa/src/back/metadata.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
194194
"x86" => Architecture::I386,
195195
"s390x" => Architecture::S390x,
196196
"mips" => Architecture::Mips,
197-
"mips64" => Architecture::Mips64,
198-
"mips64r6" => Architecture::Mips64,
197+
"mips64" | "mips64r6" => Architecture::Mips64,
199198
"x86_64" => {
200199
if sess.target.pointer_width == 32 {
201200
Architecture::X86_64_X32

compiler/rustc_target/src/abi/call/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -694,8 +694,7 @@ impl<'a, Ty> FnAbi<'a, Ty> {
694694
"loongarch64" => loongarch::compute_abi_info(cx, self),
695695
"m68k" => m68k::compute_abi_info(self),
696696
"mips" => mips::compute_abi_info(cx, self),
697-
"mips64" => mips64::compute_abi_info(cx, self),
698-
"mips64r6" => mips64::compute_abi_info(cx, self),
697+
"mips64" | "mips64r6" => mips64::compute_abi_info(cx, self),
699698
"powerpc" => powerpc::compute_abi_info(self),
700699
"powerpc64" => powerpc64::compute_abi_info(cx, self),
701700
"s390x" => s390x::compute_abi_info(cx, self),

compiler/rustc_target/src/asm/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,7 @@ impl FromStr for InlineAsmArch {
239239
"hexagon" => Ok(Self::Hexagon),
240240
"loongarch64" => Ok(Self::LoongArch64),
241241
"mips" => Ok(Self::Mips),
242-
"mips64" => Ok(Self::Mips64),
243-
"mips64r6" => Ok(Self::Mips64),
242+
"mips64" | "mips64r6" => Ok(Self::Mips64),
244243
"s390x" => Ok(Self::S390x),
245244
"spirv" => Ok(Self::SpirV),
246245
"wasm32" => Ok(Self::Wasm32),

0 commit comments

Comments
 (0)