diff --git a/src/expr.rs b/src/expr.rs index 735ce48..faf8916 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -124,6 +124,20 @@ impl TargetMatcher for target_lexicon::Triple { } else if arch == &targ::Arch::x86_64 { self.architecture == Architecture::X86_64 || self.architecture == Architecture::X86_64h + } else if arch == &targ::Arch::mips32r6 { + matches!( + self.architecture, + Architecture::Mips32( + Mips32Architecture::Mipsisa32r6 | Mips32Architecture::Mipsisa32r6el + ) + ) + } else if arch == &targ::Arch::mips64r6 { + matches!( + self.architecture, + Architecture::Mips64( + Mips64Architecture::Mipsisa64r6 | Mips64Architecture::Mipsisa64r6el + ) + ) } else { match arch.0.parse::() { Ok(a) => match (self.architecture, a) {